Screens / Users
Users
Staff logins (PAN-112 and the staff password work): each employee signs in with an employee ID and password instead of an invite link. Add employee takes a name, a username checked live against the business key, a role (every role but Owner, from GET /v1/roles) and an optional email, then shows the one-hour setup link to share. A row menu changes the role, deactivates or reactivates, issues a new reset link or deletes the login. Needs `staff.manage`. Invite links are gone from the app. Restyled to the refined design (PAN-136).
- App routes
/users- Access
- staff.manage
- Screen code
lib/screens/users/users_page.dartlib/screens/users/users_controller.dartlib/screens/users/add_employee_controller.dartlib/screens/users/widgets/add_employee_sheet.dartlib/screens/users/widgets/employee_created_sheet.dartlib/screens/users/widgets/staff_row_menu.dartlib/screens/users/widgets/change_role_dialog.dartlib/screens/users/widgets/delete_staff_dialog.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.