Skip to content

Removing Application Privileges #31730

@kobelb

Description

@kobelb

When executing the following two POSTs to /_xpack/security/privilege, the second POST isn't removing the no longer specified privilege:

POST /_xpack/security/privilege

{
    "kibana":{
        "all":{"application":"kibana","name":"all","actions":["action:*"],"metadata":{}},
        "read":{"application":"kibana","name":"read","actions":["action:saved_objects/config/get"],"metadata":{}}
    }
}
POST /_xpack/security/privilege

{
    "kibana":{
        "read":{"application":"kibana","name":"read","actions":["action:saved_objects/config/get"],"metadata":{}}
    }
}

Is this how we want this to behave? Is there some way to have the operation overwrite all of the privileges for the specified application?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions