Thanks, I found the issue. It's working as designed.

https://github.com/apache/ranger/blob/master/security-admin/src/main/webapp/scripts/views/users/UserForm.js#L165-L184
1) User is not allowed to change the User Role for the user 'admin'
2) User is not allowed to change the User Role for their own user account



On Wed, Oct 17, 2018 at 4:40 PM Phil Su <phil...@oath.com> wrote:

> Here's a screen shot:
>
> [image: image.png]
>
> On Wed, Oct 17, 2018 at 4:37 PM Phil Su <phil...@oath.com> wrote:
>
>> My issue though is that for some users, I cannot even change the role.
>> The field for "Select Role *" is also grayed out.  Any idea why this is
>> happening?
>>
>> Thanks in advance,
>> Phil
>>
>> On Wed, Oct 17, 2018 at 4:09 PM Velmurugan Periasamy <v...@apache.org>
>> wrote:
>>
>>> For users sync’ed from external sources, the only change allowed is to
>>> assign a different ranger role.
>>>
>>> ------------------------------
>>> *From:* Phil Su <phil...@oath.com>
>>> *Sent:* Wednesday, October 17, 2018 4:26 PM
>>> *To:* user@ranger.apache.org
>>> *Subject:* Certain fields in User Detail view is grayed out for some
>>> users
>>>
>>> I am needing some help understanding how some user info fields in the
>>> User Edit view for some users are grayed out.
>>>
>>> For example, when I go to Settings -> Users/Groups -> Users
>>> and select the "admin" User Name and go into the User Details view, the
>>> "Select Role *" field is grayed out (disabled) for me. Even though my user
>>> is in the "Admin" role.
>>>
>>> When I edit my own User Detail, all the fields (User Name, First Name,
>>> ... Select Role, etc.) are grayed out.
>>>
>>> But for some other users, I am able to change and update the roles.
>>>
>>> Any suggestion on what is causing this?
>>>
>>> I am using ranger 0.7.1, but I cherry picked commits to upgrade jQuery
>>> and jQuery UI from 1.10.2 and 1.10.3 to 3.3.1 and 1.12.1.
>>>
>>> Thanks,
>>> Phil
>>>
>>

Reply via email to