-
Bug
-
Resolution: Done
-
Major
-
None
-
2
-
False
-
-
False
-
Release Note Not Required
-
-
-
RHDH F&UI plugins 3257
Description of problem:
If the user has a conditional permission policy they would like to update by removing the previous conditions they can click on remove-all to remove them and add new ones. But if they just want to remove the conditions and do not want to add any new ones might be because they don't want that conditional permission anymore so currently if the user wants to do that, instead of deleting conditional permission behind the scenes we were letting the user delete the conditional permission manually.
Now with discussion with UX following should be done:
- Leave the Save button active after users click "Remove all". That way we can assume they don't want to use conditional policies.
So if the user clicks save we assume they want to delete that existing conditional permission policy and create a simple permission policy with same plugin, resouce-type and actions. Deletion of existing conditional policy and ceation of new simple permission policy should happen on form save.
Steps to Reproduce
- Go to rbac role list page
- Click on edit icon of a role with an exsiting conditional policy
- Go to permissions section
- Click on configure access -> click on remove-all -> close sidebar
- Notice that the conditions are not removed