grafana/pkg/api
Jo ef245874da
OAuth: Allow assigning Server Admin (#54780)
* extract errors to errors file

* implement oauth server admin assignment

* add server admin tests

* deduplicate autoAssignOrgRole

* deduplicate strict setting

* deduplicate strict setting

* add support for generic oauth

* add role attribute strict support for generic oauth

* add support for github/gitlab

* assignGrafanaAdmin option is here to stay

* unify similar errors

* add config option

* add okta server admin mapping

* remove never used Company attribute

* unify generic oauth role extract with other methods

* case insensitive role match as in azure

* add ini settings

* add server admin to devenv

* remove duplicate fields

* add documentation to oauth

* fix titlecase test

* implement doc feedback
2022-09-08 06:11:00 -04:00
..
apierrors
avatar Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
datasource
dtos Navigation: Don't round app plugin icon images (#54543) 2022-09-01 10:28:50 +01:00
frontendlogging Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
navlinks TopNav: Support for deeper nesting in section nav (#52562) 2022-07-22 10:42:41 +02:00
pluginproxy Chore: Refactor secrets kvstore to organize testing and migrations (#54249) 2022-08-25 18:04:44 -03:00
response pkg/web: closure-style middlewares (#51238) 2022-08-09 14:58:50 +02:00
routing
static
accesscontrol.go PublicDashboards: disable form if user does not has permissions (#54853) 2022-09-07 18:29:01 -03:00
admin.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
admin_encryption.go manager exposes renderer + secrets manager (#54629) 2022-09-02 14:20:10 +02:00
admin_provisioning.go Alerting: Add file provisioning for contact points (#51924) 2022-08-01 18:17:42 +02:00
admin_provisioning_test.go Alerting: Add file provisioning for contact points (#51924) 2022-08-01 18:17:42 +02:00
admin_test.go
admin_users.go Chore: Remove disable user, disable batch users and searchusers methods from store interface (#53717) 2022-08-16 14:24:57 +02:00
admin_users_test.go Chore: Remove disable user, disable batch users and searchusers methods from store interface (#53717) 2022-08-16 14:24:57 +02:00
alerting.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
annotations.go Storage: Avoid UID errors from annotations api when loading dashboards from storage (#54346) 2022-08-26 15:09:56 -07:00
annotations_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
api.go Secrets: Implement admin mechanism for deleting all secrets stored on the secrets plugin (#54264) 2022-08-29 14:44:55 -04:00
apikey.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
basic_auth.go
basic_auth_test.go
comments.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
common_test.go RBAC: Move service and evaluator to acimpl package (#54714) 2022-09-05 18:15:47 +02:00
dashboard.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
dashboard_permission.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
dashboard_permission_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
dashboard_snapshot.go FIX: RBAC prevents deleting empty snapshots (#54385) 2022-08-30 17:19:52 +02:00
dashboard_snapshot_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
dashboard_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
dataproxy.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
datasources.go API: Do not expose user input in datasource error responses (#53483) 2022-09-05 16:10:45 +03:00
datasources_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
fakes.go manager exposes renderer + secrets manager (#54629) 2022-09-02 14:20:10 +02:00
folder.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
folder_permission.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
folder_permission_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
folder_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
frontend_logging.go
frontend_logging_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
frontend_metrics.go
frontendsettings.go manager exposes renderer + secrets manager (#54629) 2022-09-02 14:20:10 +02:00
frontendsettings_test.go Secrets: Move license check to secret store plugin (#53185) 2022-08-10 16:47:03 -03:00
grafana_com_proxy.go
health.go
health_test.go
http_server.go Secrets: Convert secret migration to a background service (#54676) 2022-09-06 16:21:25 -03:00
http_server_test.go
index.go make Browse the root item of Dashboards when topnav is enabled (#54782) 2022-09-07 09:24:10 +01:00
ldap_debug.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
ldap_debug_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
login.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
login_oauth.go OAuth: Allow assigning Server Admin (#54780) 2022-09-08 06:11:00 -04:00
login_oauth_test.go
login_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
metrics.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
metrics_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
openapi3.go Implementing OpenApi 3 specs (converted from Swagger 2) (#53243) 2022-08-04 13:51:12 -03:00
org.go Chore: Move updateorg out of sqlstore (#54111) 2022-08-23 12:26:21 -05:00
org_invite.go Chore: Add tempuser service (#53325) 2022-08-12 12:13:23 -04:00
org_invite_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
org_test.go Chore: Move updateorg out of sqlstore (#54111) 2022-08-23 12:26:21 -05:00
org_users.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
org_users_test.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
password.go SAML: Do not SAML SLO if user is not SAML authenticated (#53418) 2022-08-10 10:21:33 +02:00
playlist.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
playlist_play.go Playlists: Migrate to UIDs and load dashboards in the frontend (#54125) 2022-09-05 20:40:01 -07:00
plugin_dashboards.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
plugin_dashboards_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
plugin_metrics.go
plugin_metrics_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
plugin_proxy.go Plugins: Handle app plugin proxy routes per request (#51835) 2022-08-23 13:05:31 +02:00
plugin_proxy_test.go Plugins: Handle app plugin proxy routes per request (#51835) 2022-08-23 13:05:31 +02:00
plugin_resource.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
plugins.go TopNav: Plugin page layouts / information architecture (#53174) 2022-09-05 14:56:08 +02:00
plugins_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
preferences.go Preferences: Support setting any dashboard as home, not just the starred ones (#54258) 2022-08-26 12:40:40 -04:00
preferences_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
quota.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
quota_test.go Chore: Remove GetSignedInUserWithCacheCtx from store interface (#53734) 2022-08-16 16:08:59 +02:00
render.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
search.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
search_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
short_url.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
short_url_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
signup.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
stars.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
swagger.go
swagger_responses.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
swagger_tags.json Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
team.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
team_members.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
team_members_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
team_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
user.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
user_test.go Chore: Remove disable user, disable batch users and searchusers methods from store interface (#53717) 2022-08-16 14:24:57 +02:00
user_token.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
user_token_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
utils.go