feat(19.6.1-01): Administrators screen and cross-controller record actions
- pact.HasAdminActionExtensions / AdminActionExtension: plugins add record actions to any admin controller by ID, merged at boot before permission validation (unknown target, no preview, duplicate name stop the boot) - internal summercms.cabana pseudo-plugin, appended only when some plugin registers admin controllers: Administrators list and preview, settings link under System, backend.manage_users and backend.manage_roles with no role grants - backend::lang user, user.role and permissions copy (en, pl) - smoke tests: compile-time seam and settings, Postgres list/preview/action
This commit is contained in:
@@ -131,6 +131,7 @@ relation:
|
||||
pending_note: Changes in this section are saved together with the record.
|
||||
settings:
|
||||
title: Settings
|
||||
category_system: "System"
|
||||
empty: No settings are available.
|
||||
saved: Settings saved
|
||||
back: Back to settings
|
||||
@@ -422,3 +423,105 @@ reorder:
|
||||
moved: ":name moved to position :position of :total."
|
||||
nested: ":name is now inside :parent."
|
||||
unnested: ":name moved out to level :level."
|
||||
user:
|
||||
name: "Administrator"
|
||||
list_title: "Administrators"
|
||||
new: "New administrator"
|
||||
edit: "Edit administrator"
|
||||
preview: "Administrator details"
|
||||
list_empty: "No administrators in this view. Clear the search and filters, or create an administrator."
|
||||
menu_label: "Administrators"
|
||||
menu_description: "Manage administrator accounts, their roles and permissions."
|
||||
login: "Login"
|
||||
first_name: "First name"
|
||||
last_name: "Last name"
|
||||
email: "Email"
|
||||
role_field: "Role"
|
||||
last_login: "Last sign-in"
|
||||
superuser: "Superuser"
|
||||
created_at: "Created"
|
||||
filter_activated: "Active"
|
||||
filter_deleted: "Deleted"
|
||||
filter_deleted_hide: "Hide deleted"
|
||||
filter_deleted_only: "Only deleted"
|
||||
state_deleted: "Deleted"
|
||||
state_deactivated: "Deactivated"
|
||||
delete_selected_confirm:
|
||||
one: "Delete :count administrator? They are signed out at once. Deleted accounts can be restored."
|
||||
other: "Delete :count administrators? They are signed out at once. Deleted accounts can be restored."
|
||||
account: "Account"
|
||||
permissions: "Permissions"
|
||||
password: "Password"
|
||||
password_comment: "At least 4 characters. When editing, leave blank to keep the current password."
|
||||
password_confirmation: "Confirm password"
|
||||
role_comment: "The role sets this administrator's permissions. Single permissions can be adjusted on the Permissions tab."
|
||||
role_none: "No role"
|
||||
superuser_comment: "Grants every permission in the admin, including managing other administrators. Permission overrides below are not used while this is on."
|
||||
permission_overrides: "Permission overrides"
|
||||
permission_overrides_comment: "Inherit follows the role. Allow and Deny apply to this administrator only."
|
||||
delete_confirm: "Delete this administrator? They are signed out at once. The account can be restored from the list."
|
||||
activate: "Activate"
|
||||
activate_confirm: "Activate this administrator? They can sign in again, and their existing API tokens work again."
|
||||
activate_selected_confirm: "Activate the selected administrators? They can sign in again, and their existing API tokens work again."
|
||||
activated: "Administrator activated"
|
||||
activated_selected: "Selected administrators activated"
|
||||
deactivate: "Deactivate"
|
||||
deactivate_confirm: "Deactivate this administrator? They are signed out at once and cannot sign in until activated again."
|
||||
deactivate_selected_confirm: "Deactivate the selected administrators? They are signed out at once and cannot sign in until activated again."
|
||||
deactivated: "Administrator deactivated"
|
||||
deactivated_selected: "Selected administrators deactivated"
|
||||
restore: "Restore"
|
||||
restore_confirm: "Restore this administrator? If the account is active, they can sign in again and their existing API tokens work again."
|
||||
restore_selected_confirm: "Restore the selected administrators? Active accounts can sign in again, and their existing API tokens work again."
|
||||
restored: "Administrator restored"
|
||||
restored_selected: "Selected administrators restored"
|
||||
trashed_hint_title: "This account has been deleted"
|
||||
trashed_hint_desc: "It cannot be used to sign in. Use Restore to bring it back."
|
||||
deactivated_hint_title: "This account is deactivated"
|
||||
deactivated_hint_desc: "It cannot be used to sign in. Use Activate to allow sign-in again."
|
||||
self_hint_title: "This is your account"
|
||||
self_hint_desc: "You can change your name, login and email here. Your role, permissions, superuser access and activation can only be changed by another administrator. Change your password in My account."
|
||||
superuser_forbidden: "Only a superuser can grant, remove or change superuser access."
|
||||
role_ceiling: "You can only assign roles whose permissions you have yourself."
|
||||
self_privileged: "You cannot change your own role, permissions, superuser access or activation. Ask another administrator."
|
||||
self_delete: "You cannot delete your own account."
|
||||
self_deactivate: "You cannot deactivate your own account."
|
||||
last_superuser: "This is the last active superuser, so it cannot be deactivated, deleted or lose superuser access. Make another administrator a superuser first."
|
||||
outranked: "This administrator has permissions you do not have, so you cannot change, deactivate or delete their account."
|
||||
own_password: "Change your own password in My account, where your current password is checked."
|
||||
login_taken: "This login is already used by another administrator."
|
||||
login_taken_deleted: "This login belongs to a deleted administrator. Restore that account instead of creating a new one."
|
||||
email_taken: "This email is already used by another administrator."
|
||||
email_taken_deleted: "This email belongs to a deleted administrator. Restore that account instead of creating a new one."
|
||||
role:
|
||||
name: "Role"
|
||||
list_title: "Roles"
|
||||
new: "New role"
|
||||
edit: "Edit role"
|
||||
list_empty: "No roles in this view. Clear the search, or create a role."
|
||||
menu_label: "Roles"
|
||||
menu_description: "Define roles and the permissions they grant."
|
||||
name_field: "Name"
|
||||
name_comment: "Shown in the role picker on the administrator form."
|
||||
code_field: "Code"
|
||||
code_comment: "A unique identifier used by plugins and the API. The code of a system role cannot be changed."
|
||||
description_field: "Description"
|
||||
is_system: "System role"
|
||||
permissions_field: "Granted permissions"
|
||||
permissions_comment: "Every administrator with this role gets the checked permissions."
|
||||
delete_confirm: "Delete this role? This cannot be undone. A role that is still assigned to administrators cannot be deleted."
|
||||
delete_selected_confirm:
|
||||
one: "Delete :count role? This cannot be undone."
|
||||
other: "Delete :count roles? This cannot be undone."
|
||||
delete_has_users:
|
||||
one: "The role “:name” is assigned to :count administrator. Give them another role first. Deleted accounts count too."
|
||||
other: "The role “:name” is assigned to :count administrators. Give them another role first. Deleted accounts count too."
|
||||
delete_system: "System roles cannot be deleted."
|
||||
code_locked: "The code of a system role cannot be changed."
|
||||
code_taken: "This code is already used by another role."
|
||||
permissions:
|
||||
tab_system: "System"
|
||||
manage_users: "Manage administrators"
|
||||
manage_users_comment: "Create, edit, deactivate and delete administrator accounts."
|
||||
manage_roles: "Manage roles"
|
||||
manage_roles_comment: "Create and edit roles and the permissions they grant."
|
||||
|
||||
Reference in New Issue
Block a user