Open flash1293 opened 6 months ago
Pinging @elastic/fleet (Team:Fleet)
cc @kpollich as discussed via chat.
Discussed this further and decided to:
Permissions changes have been reverted from https://github.com/elastic/kibana/pull/184167 so reopening issue
Adding the approach we discussed offline here:
installPackages
to just require integrations.all
- this will be picked up by the REST API and methods automatically as they already check for thatinstallPackages
so the UI feature match what is doable through the APIAddIntegrationButton
here we should should it to writeIntegrationPolicies
@kpollich just to make sure it doesn't fall through the cracks - you got this on the fleet team list right?
just to make sure it doesn't fall through the cracks - you got this on the fleet team list right?
Yes this is scheduled and prioritized on the Fleet side.
Thanks, I'll remove from our board then 👍
Currently, it's only possible to install package assets if the current user has fleet permissions: https://github.com/elastic/kibana/blob/b913e3f143a7e69400f99fc76cb0ebf0174f8e82/x-pack/plugins/fleet/common/authz.ts#L156
This is done because the
installPackages
key is used for installing ES/Kibana assets as well as adding integrations to specific agent policies.To make it possible to allow clients to only install package assets without fleet permissions,
installPackages
should be split up into separate keys.