Open novakzaballa opened 6 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
flagsmith-frontend-preview | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 2, 2024 8:00pm |
flagsmith-frontend-staging | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 2, 2024 8:00pm |
deployment-53534
:cloud: https://app.uffizzi.com/github.com/Flagsmith/flagsmith/pull/4250
:page_facing_up: View Application Logs etc.
What is Uffizzi? Learn more!
I don't understand what this PR does, what does associating tags to a role do?
I think I understand, so this lets us create a role with permissions but just targets a tagged set of flags?
If so I have further questions that are not indicated by this work, apologies if I'm assuming something wrong:
Presumably only certain permissions are affected by the tags that are selected and the rest aren't?
I'm going to assume that this affects Delete feature, Create feature, Update feature state, Create change request and Approve change request?
I think I understand, so this lets us create a role with permissions but just targets a tagged set of flags?
If so I have further questions that are not indicated by this work, apologies if I'm assuming something wrong:
Presumably only certain permissions are affected by the tags that are selected and the rest aren't?
- If this is the case we need to clearly show what setting these affects, it should be in the permissions tab clearly showing what selecting tags does.
I'm going to assume that this affects Delete feature, Create feature, Update feature state, Create change request and Approve change request?
- If this is the case, isn't it quite a big assumption that all the permissions are for the same tags? It feels like this should be set for each permission otherwise you'd have to create multiple roles with the same users/groups to achieve what you want.
This PR aims to implement the backend created for this issue, This means that when a feature is tagged, the role to which a user belongs must have the same flag to delete and update a feature.
Thanks for submitting a PR! Please check the boxes below:
pre-commit
to check lintingdocs/
if required so people know about the feature!Changes
How did you test this code?