mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-04 06:43:46 +00:00
9 lines
359 B
TypeScript
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;
|