Karl Persson
be54c69fd4
Zanzana: Remove create relation from generic resources ( #97042 )
...
Remove create relation from generic resources.
We cant have a create relation to a resource because they don't exist yet. So
in oder to check create we either have to have that permissions on a folder or the namespace
2024-11-27 09:02:29 +01:00
Karl Persson
a5e743895b
Zanzana: Capabilities api ( #96682 )
...
* Add capabilities api
2024-11-21 10:51:16 +01:00
Georges Chaudy
e270412dbf
unistore: wire the authz client ( #96632 )
...
* unistore: wire the authz client
* rename dashboards.grafana.app into dashboard.grafana.app
* wire the authz client
* wire the authz client
* resuse the Standalone constructor
* configure default migration for resource folder
* add tests
* cleanup
* add logging
2024-11-19 15:13:30 +02:00
Alexander Zobnin and Karl Persson
1366197522
Zanzana: Search with check server side ( #96268 )
...
* pass zclient into dashboard service
* Search then check implementation
* Use GetNamespace() for user
* remove unused orgID
* simple batch check
* refactor
* add tests
* fix batchCheckItem
* client implements batch check
* use batch check in search
* remove unused
* remove All field from response
* refactor: extract checkNamespace
* fix search result uniqueness
* comment fix
* Apply suggestions from code review
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* refactor
* cleanup
* remove unnecessary check
* fix tests
* fix protobuf def
* Fix query page
* fix type
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-11-18 14:01:28 +01:00