Vizzuality/landgriffon

View on GitHub
client/src/hooks/permissions/enums.ts

Summary

Maintainability
A
0 mins
Test Coverage
/** User roles */
export enum RoleName {
  ADMIN = 'admin',
  USER = 'user',
}

/** User permissions */
export enum Permission {
  CAN_CREATE_SCENARIO = 'canCreateScenario',
  CAN_EDIT_SCENARIO = 'canEditScenario',
  CAN_DELETE_SCENARIO = 'canDeleteScenario',
}