Fix user details for fine-grained access (#3111)

This commit is contained in:
Stan Silvert 2022-08-16 09:44:34 -04:00 committed by GitHub
parent eb56783a3c
commit dc0d7f5049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ export const UserRoute: RouteDef = {
path: "/:realm/users/:id/:tab", path: "/:realm/users/:id/:tab",
component: lazy(() => import("../UsersTabs")), component: lazy(() => import("../UsersTabs")),
breadcrumb: (t) => t("users:userDetails"), breadcrumb: (t) => t("users:userDetails"),
access: "view-users", access: "query-users",
}; };
export const toUser = (params: UserParams): LocationDescriptorObject => ({ export const toUser = (params: UserParams): LocationDescriptorObject => ({