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}
|
Delete the user with name {userName}
|
||||||
|
|
||||||
##### Group mapping Creation/Deletion
|
##### 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.
|
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}
|
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}
|
Create a new group mapping with name {groupMappingName}
|
||||||
Content: JSON group mapping object
|
Content: JSON group mapping object
|
||||||
Example request body:
|
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}
|
Delete the group mapping with name {groupMappingName}
|
||||||
|
|
||||||
#### Role Creation/Deletion
|
#### 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})`
|
`DELETE(/druid-ext/basic-security/authorization/db/{authorizerName}/users/{userName}/roles/{roleName})`
|
||||||
Unassign role {roleName} from user {userName}
|
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}.
|
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}
|
Unassign role {roleName} from group mapping {groupMappingName}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue