Skip to content
Snippets Groups Projects

Add role-based visibility controls for UI elements

Merged Teal requested to merge rbacss into main
  • 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

Merge request reports

Pipeline #38348 passed

Pipeline passed for c686c49f on rbacss

Approval is optional

Merged by TealTeal 2 weeks ago (Mar 9, 2025 10:51pm UTC)

Merge details

  • Changes merged into main with 3e9e53b7.
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #38351 passed

Pipeline passed for 3e9e53b7 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading