-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62375/
-----------------------------------------------------------
Review request for ranger, Ankita Sinha, Mehul Parikh, and Velmurugan Periasamy.
Bugs: RANGER-1787
https://issues.apache.org/jira/browse/RANGER-1787
Repository: ranger
Description
-------
In Ranger UI -> While creating any policy, policy conditions are not mandatory.
But while creating/editing a knox policy, user has to add users and groups in
all the allow and deny conditions(have to add users/groups in allow, exclude
allow, deny and exclude deny) or else user will get pop-up error "Please select
group/user for the selected permission, else group/user will not be added."
This pop-up error is shown even though the user/groups are there in Allow
Condition.
Diffs
-----
security-admin/src/main/webapp/scripts/views/policies/PermissionList.js
bb64984
Diff: https://reviews.apache.org/r/62375/diff/1/
Testing
-------
Verified cases :
- Knox policy screen does not select access type default even if it contains
single access type.
- Able to create policy without modifying policy conditions in Knox component.
- Also verified same scenarios for others component.
Thanks,
Nitin Galave