permission

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.5 kB
3
Indexable
Never
/*
|--------------------------------------------------------------------------
| config permissions admin
|--------------------------------------------------------------------------
|
| Configure the permission feature here
|
*/
export const permissionsConf = [
  {
    feature: 'admin',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'buyer',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'buyer_subscription',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'facility_manager',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'role_and_permission',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'pricing_plan',
    actions: [ 'view', 'edit'],
  },
  {
    feature: 'facility',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'auction',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'caravan_auction',
    actions: [ 'view', 'create', 'edit', 'delete' ],
  },
  {
    feature: 'transaction',
    actions: [ 'view', 'edit' ],
  },
  {
    feature: 'notification',
    actions: [ 'view', 'edit'],
  },
  {
    feature: 'report_subscribed_area',
    actions: [ 'view'],
  },
  {
    feature: 'report_storage',
    actions: [ 'view'],
  },
  {
    feature: 'report_user',
    actions: [ 'view'],
  },
  {
    feature: 'report_admin',
    actions: [ 'view'],
  },
]