Screens / Roles
Roles
Role management (PAN-89), owner only (`roles.manage`), reached from the Users page. Desktop shows the list beside the editor; a phone shows the list and opens the editor in its place. Create a role (name, permission keys by area, or copy from an existing role), edit its name and permissions, delete it, and assign people to a role. The names and permission keys come from the API; the app words each key from its own copy. Deleting a role that people hold asks who moves where first: each is moved with a member update, then the role is deleted.
- App routes
/roles- Access
- roles.manage
- Screen code
lib/screens/roles/roles_page.dartlib/screens/roles/roles_controller.dartlib/screens/roles/roles_bindings.dartlib/screens/roles/role_copy.dartlib/screens/roles/permission_copy_keys.dartlib/screens/roles/widgets/role_list.dartlib/screens/roles/widgets/role_editor.dartlib/screens/roles/widgets/permission_area_card.dartlib/screens/roles/widgets/role_dialogs.dartlib/domain/roles/role_rules.dartlib/data/repositories/roles_repository.dart- Source
- elmermj/panly-app @ pre-staging-test (72aaffd)
API calls (7)
Each call links to its operation in the API reference. Code locations are file:line in panly-app at 72aaffd, listed from the screen down to the line that sends the request.