implement new invitation system

* fix comments on the frontend
* move jwt token service to its own module
* other fixes and updates
This commit is contained in:
Philipinho
2024-05-14 22:55:11 +01:00
parent 525990d6e5
commit eefe63d1cd
75 changed files with 10965 additions and 7846 deletions
@@ -11,7 +11,6 @@ import { User, Workspace } from '@docmost/db/types/entity.types';
export type Subjects =
| 'Workspace'
| 'WorkspaceInvitation'
| 'Space'
| 'SpaceMember'
| 'Group'
@@ -36,8 +35,6 @@ export default class CaslAbilityFactory {
can([Action.Manage], 'Workspace');
can([Action.Manage], 'WorkspaceUser');
can([Action.Manage], 'WorkspaceInvitation');
// Groups
can([Action.Manage], 'Group');
can([Action.Manage], 'GroupUser');