mirror of https://github.com/apache/druid.git
Fix groupMapping endpoint URIs in druid-basic-security doc (#8847)
This commit is contained in:
parent
df2f77c58d
commit
a066cc5648
|
@ -306,13 +306,13 @@ Create a new user with name {userName}
|
|||
Delete the user with name {userName}
|
||||
|
||||
##### Group mapping Creation/Deletion
|
||||
`GET(/druid-ext/basic-security/authorization/db/{authorizerName}/groupmappings)`
|
||||
`GET(/druid-ext/basic-security/authorization/db/{authorizerName}/groupMappings)`
|
||||
Return a list of all group mappings.
|
||||
|
||||
`GET(/druid-ext/basic-security/authorization/db/{authorizerName}/groupmappings/{groupMappingName})`
|
||||
`GET(/druid-ext/basic-security/authorization/db/{authorizerName}/groupMappings/{groupMappingName})`
|
||||
Return the group mapping and role information of the group mapping with name {groupMappingName}
|
||||
|
||||
`POST(/druid-ext/basic-security/authorization/db/{authorizerName}/groupmappings/{groupMappingName})`
|
||||
`POST(/druid-ext/basic-security/authorization/db/{authorizerName}/groupMappings/{groupMappingName})`
|
||||
Create a new group mapping with name {groupMappingName}
|
||||
Content: JSON group mapping object
|
||||
Example request body:
|
||||
|
@ -327,7 +327,7 @@ Example request body:
|
|||
}
|
||||
```
|
||||
|
||||
`DELETE(/druid-ext/basic-security/authorization/db/{authorizerName}/groupmappings/{groupMappingName})`
|
||||
`DELETE(/druid-ext/basic-security/authorization/db/{authorizerName}/groupMappings/{groupMappingName})`
|
||||
Delete the group mapping with name {groupMappingName}
|
||||
|
||||
#### Role Creation/Deletion
|
||||
|
@ -403,10 +403,10 @@ Assign role {roleName} to user {userName}.
|
|||
`DELETE(/druid-ext/basic-security/authorization/db/{authorizerName}/users/{userName}/roles/{roleName})`
|
||||
Unassign role {roleName} from user {userName}
|
||||
|
||||
`POST(/druid-ext/basic-security/authorization/db/{authorizerName}/groupmappings/{groupMappingName}/roles/{roleName})`
|
||||
`POST(/druid-ext/basic-security/authorization/db/{authorizerName}/groupMappings/{groupMappingName}/roles/{roleName})`
|
||||
Assign role {roleName} to group mapping {groupMappingName}.
|
||||
|
||||
`DELETE(/druid-ext/basic-security/authorization/db/{authorizerName}/groupmappings/{groupMappingName}/roles/{roleName})`
|
||||
`DELETE(/druid-ext/basic-security/authorization/db/{authorizerName}/groupMappings/{groupMappingName}/roles/{roleName})`
|
||||
Unassign role {roleName} from group mapping {groupMappingName}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue