mirror of
https://github.com/langgenius/dify.git
synced 2026-06-07 16:32:01 +08:00
Co-authored-by: Yang <yang@Yangs-MacBook-Pro.local> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
12 lines
357 B
TypeScript
12 lines
357 B
TypeScript
/**
|
|
* Shared permission levels for resources (datasets, credentials, etc.).
|
|
* Mirrors PermissionEnum from api/models/enums.py.
|
|
*/
|
|
export const PermissionLevel = {
|
|
onlyMe: 'only_me',
|
|
allTeamMembers: 'all_team_members',
|
|
partialMembers: 'partial_members',
|
|
} as const
|
|
|
|
export type PermissionLevel = typeof PermissionLevel[keyof typeof PermissionLevel]
|