1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src
Gastón Fournier ee8c9a62da
chore: filter out deprecated permissions (#4083)
## About the changes
This makes these permissions not available for selection. In particular
`UPDATE_ROLE`, `CREATE_API_TOKEN`, `UPDATE_API_TOKEN`,
`DELETE_API_TOKEN`, `READ_API_TOKEN` are long-lived and should be taken
out with special care which is why we have
https://linear.app/unleash/issue/2-1158/add-delete-migration-to-clean-up-no-longer-used-permissions

## Discussion points
If a role has this permission assigned, it will be displayed but will
not be able to remove it. Because the application code does not rely on
these permissions, this shouldn't be a problem. Later when we remove
them from the DB, the permission will be removed as well from the role
by the migration
2023-06-23 12:26:35 +02:00
..
lib chore: filter out deprecated permissions (#4083) 2023-06-23 12:26:35 +02:00
mailtemplates
migrations refactor: token permissions, drop admin-like permissions (#4050) 2023-06-22 08:35:54 +01:00
test fix: fetching user root roles include custom ones (#4068) 2023-06-22 14:42:01 +00:00
migrator.ts
server-dev.ts feat: plausible for new strategy flow (#4057) 2023-06-22 12:04:36 +03:00
server.ts