[jira] [Updated] (RANGER-1476) External users not editable through Ranger UI

2017-03-25 Thread Velmurugan Periasamy (JIRA)

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

Velmurugan Periasamy updated RANGER-1476:
-
Fix Version/s: 1.0.0

> External users not editable through Ranger UI
> -
>
> Key: RANGER-1476
> URL: https://issues.apache.org/jira/browse/RANGER-1476
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Anuja Leekha
>Assignee: Nitin Galave
>Priority: Critical
>  Labels: ranger
> Fix For: 1.0.0, 0.7.1
>
> Attachments: RANGER-1476.patch
>
>
> External users not editable through Ranger UI. Need to be able to change role.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Re: Review Request 57931: RANGER-1476 External users not editable through Ranger UI

2017-03-25 Thread Velmurugan Periasamy

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


Ship it!




Ship It!

- Velmurugan Periasamy


On March 25, 2017, 9:55 a.m., Nitin Galave wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57931/
> ---
> 
> (Updated March 25, 2017, 9:55 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, deepak sharma, Gautam Borad, Mehul 
> Parikh, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-1476
> https://issues.apache.org/jira/browse/RANGER-1476
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> Admin/key admin user unable to change external user role through Ranger UI.
> 
> 
> Diffs
> -
> 
>   security-admin/src/main/webapp/scripts/views/users/UserCreate.js 99631f6 
>   security-admin/src/main/webapp/scripts/views/users/UserForm.js f74e2a4 
> 
> 
> Diff: https://reviews.apache.org/r/57931/diff/1/
> 
> 
> Testing
> ---
> 
> Verified Scenarios:
> 1. User* able to update external user's role.
>*external/internal user which has admin role.
> 2. User* won't able update external/internal user's role
>*external/internal user which has user role
> 3. Key admin user able update only internal/external user's role from user to 
> key admin and vice-versa.
> 4. User(admin/key admin/user) unable to change its own role.
> 
> 
> Thanks,
> 
> Nitin Galave
> 
>



Re: Review Request 57931: RANGER-1476 External users not editable through Ranger UI

2017-03-25 Thread Gautam Borad

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


Ship it!




Ship It!

- Gautam Borad


On March 25, 2017, 9:55 a.m., Nitin Galave wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57931/
> ---
> 
> (Updated March 25, 2017, 9:55 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, deepak sharma, Gautam Borad, Mehul 
> Parikh, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-1476
> https://issues.apache.org/jira/browse/RANGER-1476
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> Admin/key admin user unable to change external user role through Ranger UI.
> 
> 
> Diffs
> -
> 
>   security-admin/src/main/webapp/scripts/views/users/UserCreate.js 99631f6 
>   security-admin/src/main/webapp/scripts/views/users/UserForm.js f74e2a4 
> 
> 
> Diff: https://reviews.apache.org/r/57931/diff/1/
> 
> 
> Testing
> ---
> 
> Verified Scenarios:
> 1. User* able to update external user's role.
>*external/internal user which has admin role.
> 2. User* won't able update external/internal user's role
>*external/internal user which has user role
> 3. Key admin user able update only internal/external user's role from user to 
> key admin and vice-versa.
> 4. User(admin/key admin/user) unable to change its own role.
> 
> 
> Thanks,
> 
> Nitin Galave
> 
>



Review Request 57931: RANGER-1476 External users not editable through Ranger UI

2017-03-25 Thread Nitin Galave

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

Review request for ranger, Ankita Sinha, deepak sharma, Gautam Borad, Mehul 
Parikh, and Velmurugan Periasamy.


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


Repository: ranger


Description
---

Admin/key admin user unable to change external user role through Ranger UI.


Diffs
-

  security-admin/src/main/webapp/scripts/views/users/UserCreate.js 99631f6 
  security-admin/src/main/webapp/scripts/views/users/UserForm.js f74e2a4 


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


Testing
---

Verified Scenarios:
1. User* able to update external user's role.
   *external/internal user which has admin role.
2. User* won't able update external/internal user's role
   *external/internal user which has user role
3. Key admin user able update only internal/external user's role from user to 
key admin and vice-versa.
4. User(admin/key admin/user) unable to change its own role.


Thanks,

Nitin Galave



[jira] [Updated] (RANGER-1476) External users not editable through Ranger UI

2017-03-25 Thread Nitin Galave (JIRA)

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

Nitin Galave updated RANGER-1476:
-
Attachment: RANGER-1476.patch

> External users not editable through Ranger UI
> -
>
> Key: RANGER-1476
> URL: https://issues.apache.org/jira/browse/RANGER-1476
> Project: Ranger
>  Issue Type: Bug
>  Components: Ranger
>Reporter: Anuja Leekha
>Assignee: Nitin Galave
>Priority: Critical
>  Labels: ranger
> Fix For: 0.7.1
>
> Attachments: RANGER-1476.patch
>
>
> External users not editable through Ranger UI. Need to be able to change role.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Re: Review Request 57865: The password is not set after the user is created by install program during installing Ranger Policy Admin. We should set password like db user.

2017-03-25 Thread Qiang Zhang

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


Ship it!




Ship It!

- Qiang Zhang


On 三月 23, 2017, 9:23 a.m., pengjianhua wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57865/
> ---
> 
> (Updated 三月 23, 2017, 9:23 a.m.)
> 
> 
> Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O 
> hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan 
> Neethiraj, Velmurugan Periasamy, and Qiang Zhang.
> 
> 
> Bugs: RANGER-1467
> https://issues.apache.org/jira/browse/RANGER-1467
> 
> 
> Repository: ranger
> 
> 
> Description
> ---
> 
> The password is not set after the user is created by install program during 
> installing Ranger Policy Admin. The current logic is reasonable if the user 
> exists during installing Ranger Policy Admin. Based on current program logic 
> we can only use the new linx user according to as following methods:
> 1. Set the new user password manually.
> 2. Login system using root user. Then use su command to switch the new user.
> Obviously, these steps increase the difficulty of the user to use the system 
> and reduce easy-using of the Ranger Policy Admin.
> We should automatically set password for the new user after the user was 
> created like db user.
> 
> 
> Diffs
> -
> 
>   security-admin/scripts/install.properties f323c95 
>   security-admin/scripts/setup.sh 2e7752d 
> 
> 
> Diff: https://reviews.apache.org/r/57865/diff/3/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> pengjianhua
> 
>