-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45026/
-----------------------------------------------------------

Review request for ranger, Alok Lal, Don Bosco Durai, Gautam Borad, Abhay 
Kulkarni, Madhan Neethiraj, Ramesh Mani, and Selvamohan Neethiraj.


Bugs: RANGER-876
    https://issues.apache.org/jira/browse/RANGER-876


Repository: ranger


Description
-------

**Problem Statement**
Ranger Admin UI changes to show deny and exceptions in policy UI only for the 
following cases:
service-def option enableDenyAndExceptionsInPolicies is set to true
or
service-def of Tag Based Services.

For other service-defs, only allow policy-items should be displayed. This is 
corresponding to the policy-engine changes in RANGER-874.


Diffs
-----

  security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js 
f32ffbc 
  security-admin/src/main/webapp/templates/policies/RangerPolicyForm_tmpl.html 
9b56bca 

Diff: https://reviews.apache.org/r/45026/diff/


Testing
-------

**Steps Performed**
1) If value for the property *enableDenyAndExceptionsInPolicies*  is not 
defined  then for all components it does not show the Deny Condition section 
except Tag Based policy.

2) If value for enableDenyAndExceptionsInPolicies = ture it will show the Deny 
Condition section in Create / Edit policy form.

3) Considering upgrade scenario: 
> Initial state
>>if initially enableDenyAndExceptionsInPolicies=true and policy object 
>>contains deny conditions. 

> Later on, if service-def is updated to set 
> enableDenyAndExceptionsInPolicies=false
>> After that even as we will not show the deny conditions object in UI, update 
>> policy retains the value of original state of deny condition.


Thanks,

Mehul Parikh

Reply via email to