mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
feat: add USER_HAS_NO_ROLES_ERR to AuthErrorCode
This commit is contained in:
parent
1320b59b2f
commit
b5b142e1e2
@ -20,6 +20,7 @@ const AuthErrorCode = {
|
|||||||
EXPIRED_SESSION: 'EXPIRED_SESSION' as const,
|
EXPIRED_SESSION: 'EXPIRED_SESSION' as const,
|
||||||
NOT_EXIST_USER: 'NOT_EXIST_USER' as const,
|
NOT_EXIST_USER: 'NOT_EXIST_USER' as const,
|
||||||
SKIP_TOKEN_RENEW: 'SKIP_TOKEN_RENEW' as const,
|
SKIP_TOKEN_RENEW: 'SKIP_TOKEN_RENEW' as const,
|
||||||
|
USER_HAS_NO_ROLES_ERR: 'USER_HAS_NO_ROLES_ERR' as const,
|
||||||
};
|
};
|
||||||
|
|
||||||
function removeBasename(pathname, basename) {
|
function removeBasename(pathname, basename) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user