From 727877cf54ba9878ac8d683a5c54f47b24db3e0c Mon Sep 17 00:00:00 2001 From: Yaodong Yu <2814461814@qq.com> Date: Tue, 15 Nov 2022 14:19:20 +0800 Subject: [PATCH] fix: illegal user when new a permission (#1298) --- web/src/PermissionListPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/PermissionListPage.js b/web/src/PermissionListPage.js index ce5a9a2d..98fd2aca 100644 --- a/web/src/PermissionListPage.js +++ b/web/src/PermissionListPage.js @@ -29,7 +29,7 @@ class PermissionListPage extends BaseListPage { name: `permission_${randomName}`, createdTime: moment().format(), displayName: `New Permission - ${randomName}`, - users: [this.props.account.name], + users: [`${this.props.account.owner}/${this.props.account.name}`], roles: [], domains: [], resourceType: "Application",