feat(cabana): list the administrators holding a role on the Roles form (quick-261028-rqg)

- users form partial on the Administrators tab of the role update form,
  served by rolesAdmin.PartialData through scopeAdministrators (D-03)
- deleted and deactivated holders marked, superusers only for superuser
  editors, first 100 rows with a count note, preview links for editors
  holding backend.manage_users
- en/pl phrases, README and docs, TestRolesSmoke asserts the partial
This commit is contained in:
Jakub Zych
2026-10-28 21:32:19 +01:00
parent c8a22e3e84
commit 8cb56a4c51
8 changed files with 164 additions and 1 deletions

View File

@@ -537,6 +537,12 @@ user:
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."
users_field: "Administrators with this role"
users_comment: "Read-only. Roles are assigned on the Administrators screen."
users_empty: "No administrator has this role."
users_more:
one: "Showing the first :shown of :count administrator. Filter the Administrators list by this role to see all of them."
other: "Showing the first :shown of :count administrators. Filter the Administrators list by this role to see all of them."
permissions:
tab_system: "System"
manage_users: "Manage administrators"

View File

@@ -571,6 +571,14 @@ user:
delete_system: "Ról systemowych nie można usunąć."
code_locked: "Kodu roli systemowej nie można zmienić."
code_taken: "Ten kod jest już używany przez inną rolę."
users_field: "Administratorzy z tą rolą"
users_comment: "Tylko do odczytu. Role przydziela się na ekranie Administratorzy."
users_empty: "Żaden administrator nie ma tej roli."
users_more:
one: "Pokazano pierwszych :shown z :count administratora. Aby zobaczyć wszystkich, przefiltruj listę Administratorzy według tej roli."
few: "Pokazano pierwszych :shown z :count administratorów. Aby zobaczyć wszystkich, przefiltruj listę Administratorzy według tej roli."
many: "Pokazano pierwszych :shown z :count administratorów. Aby zobaczyć wszystkich, przefiltruj listę Administratorzy według tej roli."
other: "Pokazano pierwszych :shown z :count administratora. Aby zobaczyć wszystkich, przefiltruj listę Administratorzy według tej roli."
permissions:
tab_system: "System"
manage_users: "Zarządzanie administratorami"