You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Dhaval Shah <dh...@gmail.com> on 2019/12/10 13:18:05 UTC

Re: Review Request 71893: RANGER-2668 : Remove tag service linking for any service created in Ranger KMS

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

(Updated Dec. 10, 2019, 1:18 p.m.)


Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, and Pradeep Agrawal.


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


Repository: ranger


Description
-------

Ranger KMS shouldn't be having Tag based service hence, 
1.) No Tag based service will be associated with RangerKMS default service.
2.) User should not be able to associate tag service while creating and updating  RangerKMS service.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 0fd5093 
  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java f2bbd3c 


Diff: https://reviews.apache.org/r/71893/diff/2/


Testing
-------

1.) Tag service is not associated with auto generated RangerKMS service and Default service.
2.) User is not be able to associate tag service while creating and updating  RangerKMS service.


Thanks,

Dhaval Shah


Re: Review Request 71893: RANGER-2668 : Remove tag service linking for any service created in Ranger KMS

Posted by Dhaval Shah <dh...@gmail.com>.

> On Dec. 10, 2019, 8:49 p.m., Ramesh Mani wrote:
> > security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java
> > Lines 1639 (patched)
> > <https://reviews.apache.org/r/71893/diff/2/?file=2183589#file2183589line1639>
> >
> >     What about not showing  the "Select Tag Service" for the KMS Service in Ranger UI? will that also help in addition to this?

I have updated the patch which contains the UI side changes of removing that field from service creation page for KMS.


- Dhaval


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


On Dec. 11, 2019, 11:01 a.m., Dhaval Shah wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71893/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2019, 11:01 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, and Pradeep Agrawal.
> 
> 
> Bugs: RANGER-2668
>     https://issues.apache.org/jira/browse/RANGER-2668
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger KMS shouldn't be having Tag based service hence, 
> 1.) No Tag based service will be associated with RangerKMS default service.
> 2.) User should not be able to associate tag service while creating and updating  RangerKMS service.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 0fd5093 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java f2bbd3c 
>   security-admin/src/main/webapp/scripts/views/service/RangerServiceViewDetail.js a79513b 
>   security-admin/src/main/webapp/scripts/views/service/ServiceForm.js 653d3d5 
>   security-admin/src/main/webapp/templates/service/RangerServiceViewDetail_tmpl.html 978d785 
> 
> 
> Diff: https://reviews.apache.org/r/71893/diff/3/
> 
> 
> Testing
> -------
> 
> 1.) Tag service is not associated with auto generated RangerKMS service and Default service.
> 2.) User is not be able to associate tag service while creating and updating  RangerKMS service.
> 
> 
> Thanks,
> 
> Dhaval Shah
> 
>


Re: Review Request 71893: RANGER-2668 : Remove tag service linking for any service created in Ranger KMS

Posted by Ramesh Mani <rm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71893/#review218988
-----------------------------------------------------------




security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java
Lines 1639 (patched)
<https://reviews.apache.org/r/71893/#comment306989>

    What about not showing  the "Select Tag Service" for the KMS Service in Ranger UI? will that also help in addition to this?


- Ramesh Mani


On Dec. 10, 2019, 1:18 p.m., Dhaval Shah wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71893/
> -----------------------------------------------------------
> 
> (Updated Dec. 10, 2019, 1:18 p.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, and Pradeep Agrawal.
> 
> 
> Bugs: RANGER-2668
>     https://issues.apache.org/jira/browse/RANGER-2668
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger KMS shouldn't be having Tag based service hence, 
> 1.) No Tag based service will be associated with RangerKMS default service.
> 2.) User should not be able to associate tag service while creating and updating  RangerKMS service.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 0fd5093 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java f2bbd3c 
> 
> 
> Diff: https://reviews.apache.org/r/71893/diff/2/
> 
> 
> Testing
> -------
> 
> 1.) Tag service is not associated with auto generated RangerKMS service and Default service.
> 2.) User is not be able to associate tag service while creating and updating  RangerKMS service.
> 
> 
> Thanks,
> 
> Dhaval Shah
> 
>


Re: Review Request 71893: RANGER-2668 : Remove tag service linking for any service created in Ranger KMS

Posted by Dhaval Shah <dh...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71893/
-----------------------------------------------------------

(Updated Dec. 11, 2019, 11:01 a.m.)


Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, and Pradeep Agrawal.


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


Repository: ranger


Description
-------

Ranger KMS shouldn't be having Tag based service hence, 
1.) No Tag based service will be associated with RangerKMS default service.
2.) User should not be able to associate tag service while creating and updating  RangerKMS service.


Diffs (updated)
-----

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 0fd5093 
  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java f2bbd3c 
  security-admin/src/main/webapp/scripts/views/service/RangerServiceViewDetail.js a79513b 
  security-admin/src/main/webapp/scripts/views/service/ServiceForm.js 653d3d5 
  security-admin/src/main/webapp/templates/service/RangerServiceViewDetail_tmpl.html 978d785 


Diff: https://reviews.apache.org/r/71893/diff/3/

Changes: https://reviews.apache.org/r/71893/diff/2-3/


Testing
-------

1.) Tag service is not associated with auto generated RangerKMS service and Default service.
2.) User is not be able to associate tag service while creating and updating  RangerKMS service.


Thanks,

Dhaval Shah


Re: Review Request 71893: RANGER-2668 : Remove tag service linking for any service created in Ranger KMS

Posted by Abhay Kulkarni <ak...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71893/#review218989
-----------------------------------------------------------


Ship it!




Ship It!

- Abhay Kulkarni


On Dec. 10, 2019, 1:18 p.m., Dhaval Shah wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71893/
> -----------------------------------------------------------
> 
> (Updated Dec. 10, 2019, 1:18 p.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Nikhil P, and Pradeep Agrawal.
> 
> 
> Bugs: RANGER-2668
>     https://issues.apache.org/jira/browse/RANGER-2668
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Ranger KMS shouldn't be having Tag based service hence, 
> 1.) No Tag based service will be associated with RangerKMS default service.
> 2.) User should not be able to associate tag service while creating and updating  RangerKMS service.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 0fd5093 
>   security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java f2bbd3c 
> 
> 
> Diff: https://reviews.apache.org/r/71893/diff/2/
> 
> 
> Testing
> -------
> 
> 1.) Tag service is not associated with auto generated RangerKMS service and Default service.
> 2.) User is not be able to associate tag service while creating and updating  RangerKMS service.
> 
> 
> Thanks,
> 
> Dhaval Shah
> 
>