Adds user management

This commit is contained in:
2026-06-22 21:14:22 +02:00
parent 5331be4279
commit 6976eb4337
40 changed files with 3392 additions and 146 deletions
@@ -77,6 +77,73 @@
"language": "Language",
"logout": "Sign out"
},
"users": {
"title": "Users",
"inviteButton": "Invite User",
"table": {
"name": "Name",
"email": "Email",
"role": "Role",
"status": "Status",
"createdAt": "Created",
"actions": "Actions"
},
"status": {
"active": "Active",
"inactive": "Inactive",
"pendingInvite": "Pending invite"
},
"actions": {
"copyInviteLink": "Copy invite link",
"changeRole": "Change role",
"deactivate": "Deactivate",
"activate": "Activate",
"delete": "Delete user",
"linkCopied": "Invite link copied to clipboard"
},
"active": {
"successDeactivated": "{{name}} has been deactivated.",
"successActivated": "{{name}} has been activated."
},
"delete": {
"title": "Delete user",
"description": "Are you sure you want to delete {{name}} ({{email}})? This action cannot be undone.",
"descriptionPending": "Are you sure you want to delete the pending invitation for {{email}}? This action cannot be undone.",
"confirmButton": "Delete",
"success": "{{name}} has been deleted."
},
"invite": {
"title": "Invite User",
"emailLabel": "Email address",
"roleLabel": "Role",
"rolePlaceholder": "Select a role",
"submitButton": "Send invitation",
"step2Title": "Invitation created",
"step2Description": "Share the link below with the invitee.",
"linkLabel": "Invite link",
"copyLink": "Copy link",
"close": "Close"
},
"roles": {
"Owner": "Owner",
"Administrator": "Administrator",
"User": "User"
},
"ownerAssign": {
"title": "Assign Owner role",
"description": "You are about to make <strong>{{name}}</strong> an Owner. Owners have full access to the system, including the ability to manage and remove other Owners. Are you sure?",
"confirmButton": "Make Owner"
},
"selfRoleChange": {
"title": "Change your own role",
"description": "You are about to change your own role to <strong>{{role}}</strong>. You will be logged out automatically so the change takes effect immediately.",
"confirmButton": "Change and log out"
},
"errors": {
"lastOwnerRequired": "At least one Owner must remain. Assign another Owner before changing this role.",
"insufficientPermissions": "You do not have permission to perform this action."
}
},
"errors": {
"network": "Unable to reach the server. Check your connection and try again.",
"generic": "Something went wrong. Please try again.",