mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 01:23:32 -06:00
* RBAC: Add an endpoint to see all user permissions Co-authored-by: Joey Orlando <joey.orlando@grafana.com> * Fix mock * Add feature flag * Fix merging * Return normal permissions instead of simplified ones * Fix test * Fix tests * Fix tests * Create benchtests * Split function to get basic roles * Comments * Reorg * Add two more tests to the bench * bench comment * Re-ran the test * Rename GetUsersPermissions to SearchUsersPermissions and prepare search options * Remove from model unused struct * Start adding option to get permissions by Action+Scope * Wrong import * Action and Scope * slightly tweak users permissions actionPrefix query param validation logic * Fix xor check * Lint * Account for suggeston Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com> * Add search * Remove comment on global scope * use union all and update test to make it run on all dbs * Fix MySQL needs a space * Account for suggestion. Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com> Co-authored-by: Joey Orlando <joey.orlando@grafana.com> Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com> Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com> |
||
---|---|---|
.. | ||
acimpl | ||
actest | ||
api | ||
database | ||
mock | ||
ossaccesscontrol | ||
pluginutils | ||
resourcepermissions | ||
accesscontrol.go | ||
errors.go | ||
evaluator_test.go | ||
evaluator.go | ||
filter_bench_test.go | ||
filter_test.go | ||
filter.go | ||
metadata_bench_test.go | ||
metadata_test.go | ||
metadata.go | ||
middleware_test.go | ||
middleware.go | ||
models.go | ||
resolvers_test.go | ||
resolvers.go | ||
roles_test.go | ||
roles.go | ||
scope_test.go | ||
scope.go |