rbac
Add a permission to the role
post/api/v1beta1/roles/{role}/permissions
Request body
Example request
{
"subject": "user:root",
"object": "docker_image:example",
"action": "read"
}Response
The newly created permission
Example response
{
"subject": "user:root",
"object": "docker_image:example",
"action": "read"
}