-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
1
-
False
-
-
False
-
Release Note Not Required
-
-
-
RHDH F&UI plugins 3257
Description of problem:
Currently if a rule is selected it gets disbaled and cant be added again but there can be some rules users want to add multiple times with different values under `allOf/anyOf` like `HAS_ANNOTATION` for catalog-entity. But there are also some rules that cannot be added more than once like `IS_ENTITY_KIND` under `allOf`. But UI doesnt have implementation details for any plugin so it cannot make out which rules when applied together will work or not.
Based on oandriie's input on above we should not disable rules if they are already selected as user might want to add some rules more than once. Same process is followed in backend as well.
Steps to Reproduce
- Go to create role form
- Add a permission policy
- Click on configure access -> select a allOf/anyOf -> select a rule
Actual results:
Selected rule gets disabled under allOf/anyOf
Expected results:
Selected rule should not be disabled under allOf/anyOf