mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Folders: Show folders user has access to at the root level * Refactor * Refactor * Hide parent folders user has no access to * Skip expensive computation if possible * Fix tests * Fix potential nil access * Fix duplicated folders * Fix linter error * Fix querying folders if no managed permissions set * Update benchmark * Add special shared with me folder and fetch available non-root folders on demand * Fix parents query * Improve db query for folders * Reset benchmark changes * Fix permissions for shared with me folder * Simplify dedup * Add option to include shared folder permission to user's permissions * Fix nil UID * Remove duplicated folders from shared list * Folders: Fix fetching empty folder * Nested folders: Show dashboards with directly assigned permissions * Fix slow dashboards fetch * Refactor * Fix cycle dependencies * Move shared folder to models * Fix shared folder links * Refactor * Use feature flag for permissions * Use feature flag * Review comments * Expose shared folder UID through frontend settings * Add frontend type for sharedWithMeFolderUID option * Refactor: apply review suggestions * Fix parent uid for shared folder * Fix listing shared dashboards for users with access to all folders * Prevent creating folder with "shared" UID * Add tests for shared folders * Add test for shared dashboards * Fix linter * Add metrics for shared with me folder * Add metrics for shared with me dashboards * Fix tests * Tests: add metrics as a dependency * Fix access control metadata for shared with me folder * Use constant for shared with me * Optimize parent folders access check, fetch all folders in one query. * Use labels for metrics |
||
---|---|---|
.. | ||
acimpl | ||
actest | ||
api | ||
database | ||
migrator | ||
mock | ||
ossaccesscontrol | ||
pluginutils | ||
resourcepermissions | ||
accesscontrol_test.go | ||
accesscontrol.go | ||
authorize_in_org_test.go | ||
checker_test.go | ||
checker.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_test.go | ||
models.go | ||
resolvers_test.go | ||
resolvers.go | ||
roles_test.go | ||
roles.go | ||
scope_test.go | ||
scope.go |