Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const ManagerRole = 'MANAGER'
  2. const AdjusterPlusRole = 'CLAIM_ADJUSTER_PLUS'
  3. const AdjusterRole = 'CLAIM_ADJUSTER'
  4. const IcManager = 'IC_MANAGER'
  5. const IcAdjuster = 'IC_CLAIM_ADJUSTER'
  6.  
  7. export const USER_ROLES = {
  8.   [ManagerRole]: {
  9.     text: 'Manager',
  10.     defaultPage: 'dashboard',
  11.     value: 'MANAGER'
  12.   },
  13.   [AdjusterPlusRole]: {
  14.     text: 'Likwidator',
  15.     defaultPage: 'dashboard',
  16.     value: 'CLAIM_ADJUSTER_PLUS'
  17.   },
  18.   [AdjusterRole]: {
  19.     text: 'Likwidator z wymaganą akceptacją dokumentów',
  20.     defaultURL: 'dashboard',
  21.     value: 'CLAIM_ADJUSTER'
  22.   },
  23.   [IcManager]: {
  24.     text: 'Manager zewnętrzny',
  25.     defaultPage: 'claims',
  26.     value: 'IC_MANAGER'
  27.   },
  28.   [IcAdjuster]: {
  29.     text: 'Likwidator zewnętrzny',
  30.     defaultPage: 'claims',
  31.     value: 'IC_CLAIM_ADJUSTER'
  32.   }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement