From edf3bb4bcc4c370b96f0751e1003d93de463b9be Mon Sep 17 00:00:00 2001 From: wkj <278599135@.com> Date: Fri, 13 Sep 2024 13:36:58 +0800 Subject: [PATCH] loginname actionauth --- src/data/actionAuth.ts | 5 +++++ src/data/path.ts | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/src/data/actionAuth.ts b/src/data/actionAuth.ts index 874487119..19a6dfd6b 100644 --- a/src/data/actionAuth.ts +++ b/src/data/actionAuth.ts @@ -36,6 +36,11 @@ const actionAuths: ActionAuth[] = [ pathId: 'uec-user', deActions: ['create', 'select'], }, + { + id: 'loginName-user', + pathId: 'loginName-user', + deActions: ['create', 'update', 'remove', 'select'], + }, ]; export default actionAuths; \ No newline at end of file diff --git a/src/data/path.ts b/src/data/path.ts index f1a77a1b4..d0ccb9b5f 100644 --- a/src/data/path.ts +++ b/src/data/path.ts @@ -50,6 +50,13 @@ const paths: Path[] = [ value: 'user', recursive: false, }, + { + id: 'loginName-user', + sourceEntity: 'user', + destEntity: 'loginName', + value: 'user', + recursive: false, + }, ]; export default paths; \ No newline at end of file