flagsmith
flagsmith copied to clipboard
Restrict Permissions Based on Tags in Roles
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.
Related with https://github.com/Flagsmith/flagsmith/issues/1535
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 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 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 Feature tag_based_permissions has been updated:
| Environment | Enabled | Value | Last Updated (UTC) |
|---|---|---|---|
| Demo | ✅ Enabled | 2024-12-04 14:06:51 |
Flagsmith Feature tag_based_permissions has been updated:
| Environment | Enabled | Value | Last Updated (UTC) |
|---|---|---|---|
| Production | ✅ Enabled | 2024-12-04 14:07:01 |