feat: User Groups admin screen with the users count and privileged codes protected
- controller golem15.user.usergroups behind golem15.users.access_groups - list with users_count from the list's own query; form with the checkbox permission editor stored in user_groups.permissions - creating a group with a privileged code, changing a code to or from one and deleting a privileged group need golem15.users.manage_privileged_groups - a group delete removes its users_groups rows in the same transaction - UserGroup gains Fillable, Rules and the read-only UsersCount; PermissionSet.Text - TestAdminGroups and the D-06 matrix in TestAdminPrivilegedGroups
This commit is contained in:
@@ -78,6 +78,22 @@ user:
|
||||
permissions_tab: Permissions
|
||||
group:
|
||||
label: Group
|
||||
id: ID
|
||||
name: Name
|
||||
code: Code
|
||||
code_comment: Enter a unique code used to identify this group.
|
||||
code_invalid: The code may only contain letters, numbers, dashes and underscores.
|
||||
description_field: Description
|
||||
created_at: Created
|
||||
users_count: Users
|
||||
groups:
|
||||
all_groups: User Groups
|
||||
menu_label: Groups
|
||||
list_title: Manage Groups
|
||||
new_group: New Group
|
||||
list_empty: No user groups yet. Create the first one with New Group.
|
||||
delete_confirm: Do you really want to delete this group?
|
||||
privileged_forbidden: You do not have permission to create, re-code or delete a privileged group. Nothing was saved.
|
||||
organisation:
|
||||
label: Organisation
|
||||
empty_organisation: — No organisation —
|
||||
|
||||
@@ -78,6 +78,22 @@ user:
|
||||
permissions_tab: Uprawnienia
|
||||
group:
|
||||
label: Grupa
|
||||
id: ID
|
||||
name: Nazwa
|
||||
code: Kod
|
||||
code_comment: Wpisz unikalny kod służący do identyfikacji tej grupy.
|
||||
code_invalid: Kod może zawierać tylko litery, cyfry, myślniki i podkreślenia.
|
||||
description_field: Opis
|
||||
created_at: Utworzona
|
||||
users_count: Użytkownicy
|
||||
groups:
|
||||
all_groups: Grupy użytkowników
|
||||
menu_label: Grupy
|
||||
list_title: Zarządzaj grupami
|
||||
new_group: Nowa grupa
|
||||
list_empty: Brak grup użytkowników. Utwórz pierwszą przyciskiem Nowa grupa.
|
||||
delete_confirm: Czy na pewno chcesz usunąć tę grupę?
|
||||
privileged_forbidden: Nie masz uprawnień do tworzenia, zmiany kodu ani usuwania grup uprzywilejowanych. Nic nie zostało zapisane.
|
||||
organisation:
|
||||
label: Organizacja
|
||||
empty_organisation: — Brak organizacji —
|
||||
|
||||
Reference in New Issue
Block a user