-
Notifications
You must be signed in to change notification settings - Fork 411
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
feat: Add tag based permissions #4643
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Docker builds report
|
Uffizzi Preview |
I don't understand how this is supposed to be used based on the docs description. From what I understand, this functionality allows defining feature-level permissions so that only specific users can modify certain sensitive features. Happy to collaborate on these docs but I'd like to sync and understand how this functionality actually works first. |
It's quite hard to describe but it does work as updated in the docs. If permissions are tagged, the following permissions will only be granted on features with matching tags:
If a user has admin permissions from another role or group it'll grant the user the missing permissions. |
@gagantrivedi cc just to confirm, were the missing permissions added? This used to be just update feature and segment override |
No, they are not added yet |
# Conflicts: # frontend/common/types/requests.ts # frontend/web/components/tags/AddEditTags.tsx
Flagsmith feature linked:
|
Flagsmith Feature Segment
|
Flagsmith Feature
|
Flagsmith Feature
|
Flagsmith Feature Segment
|
Thanks for submitting a PR! Please check the boxes below:
docs/
if required so people know about the feature!Changes
Supersedes #4250
Users can now create tag-based roles
A tag based role will let you specify relevant permissions
How did you test this code?
The frontend will check for any tag-based permissions if it cannot find any standard permissions. In this example my user can only update feature states for the marketing tag.
perms.mov
Needs #4799 to be implemented in order for it to work fully.