You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2022/03/11 22:16:33 UTC

Review Request 73899: RANGER-3663: RangerBizUtil.checkAdminAccess() should return false if user-session is not available

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

Review request for ranger and Ramesh Mani.


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


Repository: ranger


Description
-------

Instead of throwing exception, RangerBizUtil.checkAdminAccess() should return false if user-session is not available.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/RangerBizUtil.java 1ec1df0a3 


Diff: https://reviews.apache.org/r/73899/diff/1/


Testing
-------

Compiled clean and passed all unit tests.


Thanks,

Abhay Kulkarni


Re: Review Request 73899: RANGER-3663: RangerBizUtil.checkAdminAccess() should return false if user-session is not available

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


Ship it!




Ship It!

- Ramesh Mani


On March 11, 2022, 10:16 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73899/
> -----------------------------------------------------------
> 
> (Updated March 11, 2022, 10:16 p.m.)
> 
> 
> Review request for ranger and Ramesh Mani.
> 
> 
> Bugs: RANGER-3663
>     https://issues.apache.org/jira/browse/RANGER-3663
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Instead of throwing exception, RangerBizUtil.checkAdminAccess() should return false if user-session is not available.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/RangerBizUtil.java 1ec1df0a3 
> 
> 
> Diff: https://reviews.apache.org/r/73899/diff/1/
> 
> 
> Testing
> -------
> 
> Compiled clean and passed all unit tests.
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>


Re: Review Request 73899: RANGER-3663: RangerBizUtil.checkAdminAccess() should return false if user-session is not available

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73899/#review224157
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On March 11, 2022, 10:16 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73899/
> -----------------------------------------------------------
> 
> (Updated March 11, 2022, 10:16 p.m.)
> 
> 
> Review request for ranger and Ramesh Mani.
> 
> 
> Bugs: RANGER-3663
>     https://issues.apache.org/jira/browse/RANGER-3663
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Instead of throwing exception, RangerBizUtil.checkAdminAccess() should return false if user-session is not available.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/RangerBizUtil.java 1ec1df0a3 
> 
> 
> Diff: https://reviews.apache.org/r/73899/diff/1/
> 
> 
> Testing
> -------
> 
> Compiled clean and passed all unit tests.
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>