Skip to content

Commit f394cb6

Browse files
jinapurapuJillian Inapurapudvaldivia
authored
Fixed disabled Create User button if policy has no resource (#3231)
Co-authored-by: Jillian Inapurapu <jillii@Jillians-MBP.attlocal.net> Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
1 parent 52137ba commit f394cb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web-app/src/screens/Console/Users/ListUsers.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ const ListUsers = () => {
279279
<TooltipWrapper
280280
tooltip={
281281
hasPermission(
282-
"console",
282+
"console-ui",
283283
[
284284
IAM_SCOPES.ADMIN_CREATE_USER,
285285
IAM_SCOPES.ADMIN_LIST_USER_POLICIES,
@@ -310,7 +310,7 @@ const ListUsers = () => {
310310
variant={"callAction"}
311311
disabled={
312312
!hasPermission(
313-
"console",
313+
"console-ui",
314314
[
315315
IAM_SCOPES.ADMIN_CREATE_USER,
316316
IAM_SCOPES.ADMIN_LIST_USER_POLICIES,

0 commit comments

Comments
 (0)