flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Restrict Permissions Based on Tags in Roles

Open novakzaballa opened this issue 1 year ago • 1 comments

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 avatar Jul 30 '24 14:07 novakzaballa

Related with https://github.com/Flagsmith/flagsmith/issues/1535

novakzaballa avatar Jul 30 '24 16:07 novakzaballa

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

flagsmith[bot] avatar Oct 30 '24 19:10 flagsmith[bot]

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

flagsmith[bot] avatar Oct 30 '24 19:10 flagsmith[bot]

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

flagsmith[bot] avatar Oct 30 '24 19:10 flagsmith[bot]

Flagsmith Feature tag_based_permissions has been updated:

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

flagsmith[bot] avatar Dec 04 '24 14:12 flagsmith[bot]

Flagsmith Feature tag_based_permissions has been updated:

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

flagsmith[bot] avatar Dec 04 '24 14:12 flagsmith[bot]