55 lines
1.1 KiB
TypeScript
55 lines
1.1 KiB
TypeScript
export const PERMISSIONS = [
|
|
'pricing.manage',
|
|
'operations.read',
|
|
'notifications.retry',
|
|
'coupons.manage',
|
|
'orders.read',
|
|
'orders.manage',
|
|
'users.read',
|
|
'users.create',
|
|
'users.approve',
|
|
'users.roles.assign',
|
|
'roles.read',
|
|
'roles.manage',
|
|
'audit.read',
|
|
'catalog.read',
|
|
'catalog.manage',
|
|
'catalog.publish',
|
|
'inventory.read',
|
|
'inventory.manage',
|
|
'inventory.adjust',
|
|
'inventory.reserve',
|
|
'inventory.commit',
|
|
'procurement.read',
|
|
'procurement.manage',
|
|
'supplier_payment.manage',
|
|
'supplier_document.read',
|
|
'supplier_document.manage',
|
|
'supplier_document.validate',
|
|
'bom.read',
|
|
'bom.manage',
|
|
'packaging.read',
|
|
'packaging.manage',
|
|
'packaging.record',
|
|
'cost.read',
|
|
'cost.manage',
|
|
'production.read',
|
|
'production.manage',
|
|
'production.material.record',
|
|
'b2b.read',
|
|
'b2b.manage',
|
|
'b2b.verify',
|
|
'b2b.price.read',
|
|
'b2b.price.manage',
|
|
'b2b.quote.read',
|
|
'b2b.quote.manage',
|
|
'b2b.credit.read',
|
|
'b2b.credit.propose',
|
|
'b2b.credit.review',
|
|
'b2b.sample.read',
|
|
'b2b.sample.request',
|
|
'b2b.sample.review',
|
|
'b2b.sample.dispatch',
|
|
] as const;
|
|
export type Permission = (typeof PERMISSIONS)[number];
|