diff --git a/apps/vben5/packages/@abp/openiddict/src/constants/index.ts b/apps/vben5/packages/@abp/openiddict/src/constants/index.ts new file mode 100644 index 000000000..c85954d3e --- /dev/null +++ b/apps/vben5/packages/@abp/openiddict/src/constants/index.ts @@ -0,0 +1 @@ +export * from './permissions'; diff --git a/apps/vben5/packages/@abp/openiddict/src/constants/permissions.ts b/apps/vben5/packages/@abp/openiddict/src/constants/permissions.ts new file mode 100644 index 000000000..dddd70bbb --- /dev/null +++ b/apps/vben5/packages/@abp/openiddict/src/constants/permissions.ts @@ -0,0 +1,16 @@ +/** 用户权限 */ +export const IdentityUserPermissions = { + /** 新增 */ + Create: 'AbpOpenIddict.Applications.Create', + Default: 'AbpOpenIddict.Applications', + /** 删除 */ + Delete: 'AbpOpenIddict.Applications.Delete', + /** 管理功能 */ + ManageFeatures: 'AbpOpenIddict.Applications.ManageFeatures', + /** 管理权限 */ + ManagePermissions: 'AbpOpenIddict.Applications.ManagePermissions', + /** 管理密钥 */ + ManageSecret: 'AbpOpenIddict.Applications.ManageSecret', + /** 更新 */ + Update: 'AbpOpenIddict.Applications.Update', +};