[jira] [Comment Edited] (RANGER-4585) Support multiple columns policy creation in ranger for Grant / Revoke request

2023-12-07 Thread Ramesh Mani (Jira)


[ 
https://issues.apache.org/jira/browse/RANGER-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794448#comment-17794448
 ] 

Ramesh Mani edited comment on RANGER-4585 at 12/7/23 10:03 PM:
---

Review link : [https://reviews.apache.org/r/74777/]


was (Author: rmani):
Review link

> Support multiple columns policy creation in ranger for Grant / Revoke request
> -
>
> Key: RANGER-4585
> URL: https://issues.apache.org/jira/browse/RANGER-4585
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 3.0.0
>Reporter: Ramesh Mani
>Assignee: Ramesh Mani
>Priority: Major
> Attachments: 
> 0001-RANGER-4585-Support-multiple-columns-policy-creation.patch
>
>
> Support multiple columns policy creation in ranger for Grant / Revoke request
> When request like "grant select ( col1, col2, col3, col4, col5, col6, col7, 
> col8, col9, col10) on table demo.data5 to role testrole_09289898" is done in 
> Impala or Hive ranger doesn't create those columns in a single policy. In 
> Impala case it create one grant for each of the column. In Hive it creates a 
> "*" column policy. This has to be modified to support creation of single 
> policy for grant with all the columns added.Same case for Revoke, need to 
> support update of the policies correctly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (RANGER-4585) Support multiple columns policy creation in ranger for Grant / Revoke request

2023-12-07 Thread Ramesh Mani (Jira)


 [ 
https://issues.apache.org/jira/browse/RANGER-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Mani updated RANGER-4585:

Attachment: 0001-RANGER-4585-Support-multiple-columns-policy-creation.patch

> Support multiple columns policy creation in ranger for Grant / Revoke request
> -
>
> Key: RANGER-4585
> URL: https://issues.apache.org/jira/browse/RANGER-4585
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 3.0.0
>Reporter: Ramesh Mani
>Assignee: Ramesh Mani
>Priority: Major
> Attachments: 
> 0001-RANGER-4585-Support-multiple-columns-policy-creation.patch
>
>
> Support multiple columns policy creation in ranger for Grant / Revoke request
> When request like "grant select ( col1, col2, col3, col4, col5, col6, col7, 
> col8, col9, col10) on table demo.data5 to role testrole_09289898" is done in 
> Impala or Hive ranger doesn't create those columns in a single policy. In 
> Impala case it create one grant for each of the column. In Hive it creates a 
> "*" column policy. This has to be modified to support creation of single 
> policy for grant with all the columns added.Same case for Revoke, need to 
> support update of the policies correctly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Review Request 74777: RANGER-4585:Support multiple columns policy creation in ranger for Grant / Revoke request

2023-12-07 Thread Ramesh Mani

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

Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, 
Pradeep Agrawal, Selvamohan Neethiraj, Sailaja Polavarapu, and Velmurugan 
Periasamy.


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


Repository: ranger


Description
---

RANGER-4585:Support multiple columns policy creation in ranger for Grant / 
Revoke request


Diffs
-

  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 
cffd177be 
  security-admin/src/test/java/org/apache/ranger/rest/TestServiceREST.java 
d049f9949 


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


Testing
---

- Testing done on select with mulitple and single columns in a VM via impala 
and hive shell.
-   grant select (col1, col2, col3, col4, col5, col6, col7, col8)  on table 
demo.data9 to role testrole1
-   revoke select(col1,col2) on table demo.data10 from role testrole1;
-   grant select (col1)  on table demo.data10 to role testrole2;
-   revoke select(col1)  on table demo.data10 from role testrole2;


Thanks,

Ramesh Mani



[jira] [Assigned] (RANGER-4585) Support multiple columns policy creation in ranger for Grant / Revoke request

2023-12-07 Thread Ramesh Mani (Jira)


 [ 
https://issues.apache.org/jira/browse/RANGER-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Mani reassigned RANGER-4585:
---

Assignee: Ramesh Mani

> Support multiple columns policy creation in ranger for Grant / Revoke request
> -
>
> Key: RANGER-4585
> URL: https://issues.apache.org/jira/browse/RANGER-4585
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Affects Versions: 3.0.0
>Reporter: Ramesh Mani
>Assignee: Ramesh Mani
>Priority: Major
>
> Support multiple columns policy creation in ranger for Grant / Revoke request
> When request like "grant select ( col1, col2, col3, col4, col5, col6, col7, 
> col8, col9, col10) on table demo.data5 to role testrole_09289898" is done in 
> Impala or Hive ranger doesn't create those columns in a single policy. In 
> Impala case it create one grant for each of the column. In Hive it creates a 
> "*" column policy. This has to be modified to support creation of single 
> policy for grant with all the columns added.Same case for Revoke, need to 
> support update of the policies correctly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (RANGER-4585) Support multiple columns policy creation in ranger for Grant / Revoke request

2023-12-07 Thread Ramesh Mani (Jira)
Ramesh Mani created RANGER-4585:
---

 Summary: Support multiple columns policy creation in ranger for 
Grant / Revoke request
 Key: RANGER-4585
 URL: https://issues.apache.org/jira/browse/RANGER-4585
 Project: Ranger
  Issue Type: Bug
  Components: Ranger
Affects Versions: 3.0.0
Reporter: Ramesh Mani


Support multiple columns policy creation in ranger for Grant / Revoke request
When request like "grant select ( col1, col2, col3, col4, col5, col6, col7, 
col8, col9, col10) on table demo.data5 to role testrole_09289898" is done in 
Impala or Hive ranger doesn't create those columns in a single policy. In 
Impala case it create one grant for each of the column. In Hive it creates a 
"*" column policy. This has to be modified to support creation of single policy 
for grant with all the columns added.Same case for Revoke, need to support 
update of the policies correctly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (RANGER-4584) Default EXPIRES_ON policy is not loading while editing

2023-12-07 Thread Himanshu Maurya (Jira)


 [ 
https://issues.apache.org/jira/browse/RANGER-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Himanshu Maurya updated RANGER-4584:

Description: 
Steps to reproduce:-
Through Ranger Admin UI -> Access Manager -> Tag Based Policies -> open the tag 
service -> open EXPIRES_ON policy for edit
UI is not loading and we are getting following error in console
{code:java}
Uncaught TypeError: Cannot read properties of undefined (reading 'name')
    at H.n. (PermissionList.js:165:1)
    at underscore.js:723:1
    at Function.we (underscore.js:1330:1)
    at H.n.setupPermissionsAndConditions (PermissionList.js:162:1)
    at H.n.initialize (PermissionList.js:86:1)
    at t.View (backbone.js:1300:1)
    at Backbone.View (XAOverrides.js:1186:1)
    at H.n.constructor (backbone.marionette.js:801:1)
    at H.n.constructor (backbone.marionette.js:980:1)
    at new H.n (backbone.js:2060:1) {code}

> Default EXPIRES_ON policy is not loading while editing
> --
>
> Key: RANGER-4584
> URL: https://issues.apache.org/jira/browse/RANGER-4584
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Himanshu Maurya
>Assignee: Himanshu Maurya
>Priority: Major
>
> Steps to reproduce:-
> Through Ranger Admin UI -> Access Manager -> Tag Based Policies -> open the 
> tag service -> open EXPIRES_ON policy for edit
> UI is not loading and we are getting following error in console
> {code:java}
> Uncaught TypeError: Cannot read properties of undefined (reading 'name')
>     at H.n. (PermissionList.js:165:1)
>     at underscore.js:723:1
>     at Function.we (underscore.js:1330:1)
>     at H.n.setupPermissionsAndConditions (PermissionList.js:162:1)
>     at H.n.initialize (PermissionList.js:86:1)
>     at t.View (backbone.js:1300:1)
>     at Backbone.View (XAOverrides.js:1186:1)
>     at H.n.constructor (backbone.marionette.js:801:1)
>     at H.n.constructor (backbone.marionette.js:980:1)
>     at new H.n (backbone.js:2060:1) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (RANGER-4584) Default EXPIRES_ON policy is not loading while editing

2023-12-07 Thread Himanshu Maurya (Jira)
Himanshu Maurya created RANGER-4584:
---

 Summary: Default EXPIRES_ON policy is not loading while editing
 Key: RANGER-4584
 URL: https://issues.apache.org/jira/browse/RANGER-4584
 Project: Ranger
  Issue Type: Bug
  Components: Ranger
Reporter: Himanshu Maurya
Assignee: Himanshu Maurya






--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (RANGER-4582) Improve UI presentation of multiple resources for policy logs in Audit Admin module

2023-12-07 Thread Mugdha Varadkar (Jira)


 [ 
https://issues.apache.org/jira/browse/RANGER-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mugdha Varadkar updated RANGER-4582:

Description: 
Improve UI presentation of multiple resources for policy logs in Audit Admin 
module
 * *Current Behaviour :-*
Currently for multiple resources we are showing the JSON data as it is in UI at 
Audit  Admin module

We can improvise it by showing the multiple resource JSON data in table format,
So that it can be readable for user.

  was:
Improve UI presentation of multiple resources for policy logs in Audit Admin 
module
 * *Current Behaviour :-*
Currently for multiple resources we are showing the JSON data as it is in UI at 
Audit  Admin module

We can improvise it by showing the multiple resource JSON data in table format,
So that it can be readble for user.


> Improve UI presentation of multiple resources for policy logs in Audit Admin 
> module
> ---
>
> Key: RANGER-4582
> URL: https://issues.apache.org/jira/browse/RANGER-4582
> Project: Ranger
>  Issue Type: Improvement
>  Components: Ranger
>Reporter: Brijesh Bhalala
>Assignee: Brijesh Bhalala
>Priority: Major
> Fix For: 3.0.0
>
>
> Improve UI presentation of multiple resources for policy logs in Audit Admin 
> module
>  * *Current Behaviour :-*
> Currently for multiple resources we are showing the JSON data as it is in UI 
> at Audit  Admin module
> We can improvise it by showing the multiple resource JSON data in table 
> format,
> So that it can be readable for user.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (RANGER-4582) Improve UI presentation of multiple resources for policy logs in Audit Admin module

2023-12-07 Thread Mugdha Varadkar (Jira)


 [ 
https://issues.apache.org/jira/browse/RANGER-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mugdha Varadkar updated RANGER-4582:

Description: 
Improve UI presentation of multiple resources for policy logs in Audit Admin 
module
 * *Current Behaviour :-*
Currently for multiple resources we are showing the JSON data as it is in UI at 
Audit  Admin module

We can improvise it by showing the multiple resource JSON data in table format,
So that it can be readble for user.

  was:
Improve UI presentation of multiple resources for policy logs in Audit Admin 
module
 * *Current Behaviour :-*
Currently for multiple resources we are showing the JSON data as it is in UI at 
Audit  Admin module

We can improvise it by showing the multiple resource JSON data in table format,
So that it can be redable for user.


> Improve UI presentation of multiple resources for policy logs in Audit Admin 
> module
> ---
>
> Key: RANGER-4582
> URL: https://issues.apache.org/jira/browse/RANGER-4582
> Project: Ranger
>  Issue Type: Improvement
>  Components: Ranger
>Reporter: Brijesh Bhalala
>Assignee: Brijesh Bhalala
>Priority: Major
> Fix For: 3.0.0
>
>
> Improve UI presentation of multiple resources for policy logs in Audit Admin 
> module
>  * *Current Behaviour :-*
> Currently for multiple resources we are showing the JSON data as it is in UI 
> at Audit  Admin module
> We can improvise it by showing the multiple resource JSON data in table 
> format,
> So that it can be readble for user.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)