Hello,

I just stumbled across this issue when I tried to add groups through the API like this:

POST to /service/xusers/groups with body:
{
    "name":"office2013",
    "groupSource":1
}

I get a reply which seems to show the groupSource wasn't respected:
{
id: 21
createDate: "2015-04-30T19:34:42Z"
updateDate: "2015-04-30T19:34:42Z"
name: "office2013"
groupType: 0
groupSource: 0
}

and the group shows as "Internal" in the API.

Or did I use the API incorrectly?

Using Ranger 0.4 (Release) with HDP 2.2.

Regards,
Hellmar

Quoting "Hari Sekhon (JIRA)" <[email protected]>:

Hari Sekhon created RANGER-218:
----------------------------------

             Summary: LDAP Groups incorrectly labelled internal
                 Key: RANGER-218
                 URL: https://issues.apache.org/jira/browse/RANGER-218
             Project: Ranger
          Issue Type: Bug
    Affects Versions: 0.4.0
         Environment: HDP 2.2
            Reporter: Hari Sekhon
            Priority: Minor


Groups pulled from LDAP are incorrectly labelled "internal" in the "Group Source" column under the Users/Groups section in the Ranger Admin web ui, while LDAP users are labelled "external" in the "User Source" column.

Regards,

Hari Sekhon
http://www.linkedin.com/in/harisekhon



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)



========================================
Hellmar Becker
Edmond Audranstraat 55
NL-3543BG Utrecht
mail: [email protected]
mobile: +31 6 29986670
========================================

Reply via email to