mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
This commit is contained in:
parent
85faf76c25
commit
ec8181821b
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ export async function getAuthzFromRequest(req: KibanaRequest): Promise<FleetAuth
|
|||
|
||||
// Once we implement Kibana RBAC, use `checkPrivileges` for all privileges instead of only integrations.read
|
||||
return calculateAuthz({
|
||||
fleet: { all: true, setup: true },
|
||||
integrations: { all: true, read: intRead.authorized },
|
||||
fleet: { all: false, setup: false },
|
||||
integrations: { all: false, read: intRead.authorized },
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue