完善权限缓存与监控指标
This commit is contained in:
@@ -141,7 +141,7 @@ const canProject = (row: Study, module: string, action: "read" | "write") => {
|
||||
};
|
||||
|
||||
const goMembers = (row: Study) => {
|
||||
router.push(`/admin/permissions?projectId=${row.id}&sub=members`);
|
||||
router.push(`/admin/permissions/project?projectId=${row.id}&sub=members`);
|
||||
};
|
||||
|
||||
const goSites = (row: Study) => {
|
||||
@@ -149,7 +149,7 @@ const goSites = (row: Study) => {
|
||||
};
|
||||
|
||||
const goPermissions = (row: Study) => {
|
||||
router.push(`/admin/permissions?projectId=${row.id}`);
|
||||
router.push(`/admin/permissions/project?projectId=${row.id}`);
|
||||
};
|
||||
|
||||
const goAuditLogs = async (row: Study) => {
|
||||
|
||||
Reference in New Issue
Block a user