-
- Downloads
Add role-based visibility controls for UI elements
- Create new CSS visibility classes based on user roles and permissions - Update ApplicationHelper to add data attributes to body based on user roles and permissions - Replace legacy hide-unless-shiftcoordinator with more specific can-manage-assignments-only - Support both positive (has-role-X-only) and negative (except-has-role-X) visibility rules - Maintain backward compatibility with existing shiftcoordinator checks
parent
218c8fcd
No related branches found
No related tags found
Checking pipeline status
This commit is part of merge request !29. Comments created here will be created in the context of that merge request.
Showing
- app/assets/stylesheets/application.css 67 additions, 1 deletionapp/assets/stylesheets/application.css
- app/helpers/application_helper.rb 21 additions, 3 deletionsapp/helpers/application_helper.rb
- app/views/sessions/_assignment_form.html.erb 1 addition, 1 deletionapp/views/sessions/_assignment_form.html.erb
Loading
Please register or sign in to comment