Skip to content

Business Dashboard UI: refactor roles to permissions #27185

Closed

Description

@severinbeauvais
  • change "isStaff" and "isSbcStaff" to isAuthorized(xxx) where xxx is a permission
  • remove or replace "isPremium" as needed
  • add list of permissions
  • implement isAuthorized
  • update the permission for the "staffComment" and "detailComment" actions
  • update unit tests

See what was done for Create UI in this PR: bcgov/business-create-ui#783

Activity

  1. added
    Entities Team
    on Apr 14, 2025
  2. changed the title [-]Business Dashboard UI: add role mixin[/-] [+]Business Dashboard UI: refactor roles to permissions[/+] on May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Entities Team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions