4680bc740a
[permissions V2] Upsert object and setting permissions ( #11119 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/639
2025-03-25 11:07:51 +01:00
9e83d902d8
[permissions V2] Create and update a custom role (without granularity) ( #11003 )
...
First steps for https://github.com/twentyhq/core-team-issues/issues/595
and https://github.com/twentyhq/core-team-issues/issues/621
Not handling granular permissions through objectPermissions and
settingsPermissions next; will come next !
2025-03-18 18:42:30 +01:00
aa6fd90424
Create objectPermissions and settingsPermissions tables ( #10962 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/594
2025-03-18 10:45:31 +01:00
5b34f86b6d
Add Icon to roles ( #10842 )
...
## Context
Adding icon column to role table to distinguish roles.
<img width="621" alt="Screenshot 2025-03-13 at 11 02 37"
src="https://github.com/user-attachments/assets/dc7b121c-2901-4599-9638-d5dcdf443999 "
/>
2025-03-13 11:34:30 +01:00
cb3bd1353a
[permissions] Add object records permissions to role entity ( #10255 )
...
Closes https://github.com/twentyhq/core-team-issues/issues/388
- Add object records-related permissions to role entity
- Add it to queriable `currentUserWorkspace` (used in FE)
2025-02-17 18:32:39 +01:00
351e768038
[Permissions] Implement getRoles ( #9955 )
...
In this PR
- introducing roles module to separate roles logic (assign a Role, get a
workspace's roles etc.) from permission logic (check if a user has a
permission)
- Introduces getRoles endpoint to fetch a workspace's roles
- introduces the first permission check: getRoles in only accessible to
users with permission on ROLE setting. Implemented
validatesUserHasWorkspaceSettingPermissionOrThrow
2025-02-03 19:14:18 +01:00