Vizzuality/landgriffon

View on GitHub
api/src/modules/authorization/roles/roles.enum.ts

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * @description: First version for RBAC: This should be probably defined on a DB and we should think about being able to pull
 *               different roles from an external provider
 */
export enum ROLES {
  ADMIN = 'admin',
  USER = 'user',
}