Skip to content

MARS-1190-Implement-RBAC-within-User-model - #248

Merged
henryjburg merged 23 commits into
mainfrom
MARS-1190-Implement-RBAC-within-User-model
Jul 30, 2026
Merged

MARS-1190-Implement-RBAC-within-User-model#248
henryjburg merged 23 commits into
mainfrom
MARS-1190-Implement-RBAC-within-User-model

Conversation

@henryjburg

Copy link
Copy Markdown
Collaborator

Pull Request

Description

  • Implement new permissions functionality that segment between "Global" permissions and "Workspace" permissions.
    • "Global" permissions: Access to specific features
    • "Workspace" permissions: Enable or disable User's access to functions within the Workspace, across Entities, Projects, and Templates. Also allows control over editing Workspace information and inviting Collaborators.
  • Add new usePermissions hook which retrieves active User permissions.
  • Extend permissions control application-wide.
  • Update the collaborators parameter within various models.

Ticket

https://ccdresearch.atlassian.net/browse/MARS-1190

* Revise text and wording
* Add information to collaborator list
* Updated all types and GraphQL `typedef` file
* Added new `usePermissions` hook
* For Workspace-scoped Users
* Update `Collaborators` component
* Update `Admin` and `Workspace` view pages
* Update server to handle `permissions` parameter within the authentication structure
* Add utility function to parse permissions stored as JSON string
* Update types for server tests
* Prevent erroneous redirects to `unauthorized` path
* Add tag previews for existing permissions
* Refactor permissions polling to avoid re-renders
* Update default Global permissions
@henryjburg
henryjburg merged commit 04afbce into main Jul 30, 2026
5 checks passed
@henryjburg
henryjburg deleted the MARS-1190-Implement-RBAC-within-User-model branch July 30, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant