Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Role constants from frontend core to shared core #13940

Closed
wants to merge 13 commits into from

Conversation

melohagan
Copy link
Collaborator

@melohagan melohagan commented Jun 13, 2024

@melohagan melohagan requested a review from a team as a code owner June 13, 2024 13:56
@melohagan melohagan requested review from samwho and removed request for a team June 13, 2024 13:56
Copy link

linear bot commented Jun 13, 2024

@mike12345567
Copy link
Collaborator

One thing to mention, the backend also has some cases where this is duplicated, to be honest we could move this to an enumeration in @budibase/types to make it accessible everywhere, in the backend we have BUILTIN_ROLE_IDS and BUILTIN_IDS which list these in backend-core/src/security/roles.ts.

Copy link
Collaborator

@samwho samwho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see Mike has given some advice on this but I want to quickly note that it's probably best to remove the launchcontrol section of the PR description rather than put "chore" in it. We now strip out empty launchcontrol content in Discord so getting rid of it just removes clutter.

@melohagan melohagan closed this Jun 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants