fix(editor): Fix RBAC type errors (no-changelog) (#9435)
This commit is contained in:
@@ -4,8 +4,8 @@ import type { DefaultUserMiddlewareOptions } from '@/types/rbac';
|
||||
import { isDefaultUser } from '@/rbac/checks';
|
||||
|
||||
export const defaultUserMiddleware: RouterMiddleware<DefaultUserMiddlewareOptions> = async (
|
||||
to,
|
||||
from,
|
||||
_to,
|
||||
_from,
|
||||
next,
|
||||
) => {
|
||||
const valid = isDefaultUser();
|
||||
|
||||
Reference in New Issue
Block a user