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

Restrict Permissions Based on Tags in Roles #4424

Closed
novakzaballa opened this issue Jul 30, 2024 · 6 comments
Closed

Restrict Permissions Based on Tags in Roles #4424

novakzaballa opened this issue Jul 30, 2024 · 6 comments
Labels
flagsmith flag The Issue/PR has a linked feaature flag in Flagsmith

Comments

@novakzaballa
Copy link
Contributor

FE Restrictions:

  • When a tag is added to a role, the FE should automatically disable any other permissions that are not compatible with the tag.

API Validation:

  • The API should reject the creation of any role that has a tag associated with unsupported permissions.

  • The API response for the /{entity}/permissions/ endpoints (where entity can be projects or environments) should include information about these validation errors.

@novakzaballa novakzaballa self-assigned this Jul 30, 2024
@novakzaballa
Copy link
Contributor Author

Related with #1535

@matthewelwell matthewelwell linked a pull request Oct 24, 2024 that will close this issue
4 tasks
@flagsmith flagsmith bot added the flagsmith flag The Issue/PR has a linked feaature flag in Flagsmith label Oct 30, 2024
Copy link

flagsmith bot commented Oct 30, 2024

Flagsmith feature linked: tag_based_permissions
Default Values:

Environment Enabled Value Last Updated (UTC)
Production ❌ Disabled 2024-09-18 15:13:59
Staging ✅ Enabled 2024-09-18 15:18:34
Demo ❌ Disabled 2024-09-18 15:13:59
Self hosted defaults ❌ Disabled 2024-09-18 15:13:59

Copy link

flagsmith bot commented Oct 30, 2024

Flagsmith Feature tag_based_permissions has been updated:

Segment flagsmith_team values:

Environment Enabled Value Last Updated (UTC)
Demo ✅ Enabled 2024-10-30 19:17:41

Copy link

flagsmith bot commented Oct 30, 2024

Flagsmith Feature tag_based_permissions has been updated:

Segment flagsmith_team values:

Environment Enabled Value Last Updated (UTC)
Production ✅ Enabled 2024-10-30 19:20:04

Copy link

flagsmith bot commented Dec 4, 2024

Flagsmith Feature tag_based_permissions has been updated:

Environment Enabled Value Last Updated (UTC)
Demo ✅ Enabled 2024-12-04 14:06:51

Copy link

flagsmith bot commented Dec 4, 2024

Flagsmith Feature tag_based_permissions has been updated:

Environment Enabled Value Last Updated (UTC)
Production ✅ Enabled 2024-12-04 14:07:01

@Flagsmith Flagsmith deleted a comment from flagsmith bot Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flagsmith flag The Issue/PR has a linked feaature flag in Flagsmith
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants