* fix: update method of permission * 页面访问权限 * feat: add tabs update in role * refactor: change main action permission check into single file * feat: add pluginLoaded event listener for init page permissions * refactor: change to can api * refactor: use constants for role types * refactor: can api * 只处理 actions 表里的权限,其余跳过 * 注释掉 fields * bugfix * add: 详情模块编辑按钮权限判断 * test: add cases * fix: add association permission judgment * fix: add disabled property to drawer select Co-authored-by: chenos <chenlinxh@gmail.com>
4 lines
105 B
TypeScript
4 lines
105 B
TypeScript
export const ROLE_TYPE_ROOT = -1;
|
|
export const ROLE_TYPE_ANONYMOUS = 0;
|
|
export const ROLE_TYPE_USER = 1;
|