mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 15:25:45 +00:00
fix ui
This commit is contained in:
8
apps/edr-freight-web/backoffice/src/permissions/index.ts
Normal file
8
apps/edr-freight-web/backoffice/src/permissions/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user