Skip to content

Commit

Permalink
Merge pull request wso2#4563 from dasuni-30/fix-role
Browse files Browse the repository at this point in the history
Disable the Create Role button when readonly
  • Loading branch information
dasuni-30 authored Nov 13, 2023
2 parents 11f9393 + 6f1de4d commit 86ce5d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-kings-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/console": patch
---

Disable Create Role button when readonly
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ export const ApplicationRoles: FunctionComponent<ApplicationRolesSettingsInterfa
startIcon={ <PlusIcon/> }
variant="text"
onClick={ handleAddNewRoleWizardClick }
disabled={ isReadOnly }
>
{ t("console:develop.features.applications.edit." +
"sections.roles.createApplicationRoleWizard.button") }
Expand Down

0 comments on commit 86ce5d4

Please sign in to comment.