grafana/pkg/api/dtos
Alexander Zobnin a7e721e987
Access control: Make Admin/Users UI working with the permissions (#33176)
* API: authorize admin/users views

* Render admin/users components based on user's permissions

* Add LDAP permissions (required by admin/user page)

* Extend default admin role by LDAP permissions

* Show/hide LDAP debug views

* Render LDAP debug page if user has access

* Authorize LDAP debug view

* fix permissions definitions

* Add LDAP page permissions

* remove ambiguous permissions check

* Hide logout buttons in sessions table

* Add org/users permissions

* Use org permissions for managing user roles in orgs

* Apply permissions to org/users

* Apply suggestions from review

* Fix tests

* remove scopes from the frontend

* Tweaks according to review

* Handle /invites endpoints
2021-04-22 13:19:41 +03:00
..
acl.go Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
alerting.go Chore: Remove dead code (#28664) 2020-11-05 11:00:00 +01:00
alerting_test.go
annotations.go
apikey.go API: return resource ID for auth key creation, folder permissions update and user invite complete endpoints (#27419) 2020-09-07 17:06:11 +02:00
dashboard.go
datasource.go Data source list: Use Card component (#31326) 2021-02-22 14:02:10 +02:00
folder.go
index.go Theming: Support for runtime theme switching and hooks for custom themes (#31301) 2021-02-20 09:02:06 +01:00
invite.go chore: avoid alias for models in plugins (#22483) 2020-02-28 12:51:21 +01:00
live.go Live: http publish, refactor live interfaces (#32317) 2021-03-30 13:23:29 +03:00
models.go Access control: Make Admin/Users UI working with the permissions (#33176) 2021-04-22 13:19:41 +03:00
models_test.go Chore: Remove gotest.tools dependency (#31391) 2021-02-22 11:53:15 +01:00
org.go
playlist.go
plugins.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
prefs.go
short_url.go Dashboard: Allow shortlink generation (#27409) 2020-10-14 12:48:48 +02:00
user.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
user_token.go