Files
edr-platform/apps/edr-freight-web/backoffice/src/permissions/index.ts
natib21 e6e44e773b fix ui
2026-07-10 11:25:59 +00:00

9 lines
359 B
TypeScript

/**
* Permission key type used by the vendored IAM UI (shared/super-admin/
* user-management). The source app models a permission as a string key
* (e.g. "can:viewAllRecords"); `string` keeps `.includes(p)` / `Permission[]`
* usage valid. Replace with the source app's real enum/union if stricter
* typing is needed.
*/
export type Permission = string;