diff --git a/src/authorization/AppAbility.ts b/src/authorization/AppAbility.ts deleted file mode 100644 index 273ac468..00000000 --- a/src/authorization/AppAbility.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Ability, AbilityClass } from '@casl/ability'; - -type Actions = 'create' | 'read' | 'update'; -type Subjects = 'Job' - -// TODO use AppAbility across app. -export type AppAbility = Ability<[Actions, Subjects]>; -export const AppAbility = Ability as AbilityClass;