Skip to content

Rework global permissions - #928

Merged
bennybp merged 14 commits into
mainfrom
perms
Apr 11, 2025
Merged

Rework global permissions#928
bennybp merged 14 commits into
mainfrom
perms

Conversation

@bennybp

@bennybp bennybp commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

Description

Completely rework roles and permissions. This removes the old roles with policies attribute-based access control using PolicyUniverse, which was just a bit too complex for our setup. The replacement is much simpler, but also more extendable in the future to project-based permissions.

This is practically backwards compatible. I does remove the old functionality for defining custom roles and permissions, which is technically a breaking change, however I don't believe anyone has ever done that level of customization (including me).

This also adds much thorough testing of the permissions, and also cleans up some error handling

Status

  • Code base linted
  • Ready to go

@bennybp
bennybp merged commit c2d7a5d into main Apr 11, 2025
@bennybp
bennybp deleted the perms branch April 11, 2025 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant