mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 14:52:16 +08:00
AuthN: Remove embedded oauth server (#83146)
* AuthN: Remove embedded oauth server * Restore main * go mod tidy * Fix problem * Remove permission intersection * Fix test and lint * Fix TestData test * Revert to origin/main * Update go.mod * Update go.mod * Update go.sum
This commit is contained in:
@ -505,32 +505,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"impersonation": {
|
||||
"type": "object",
|
||||
"description": "Impersonation describes the permissions that the plugin will be restricted to when acting on behalf of the user.",
|
||||
"properties": {
|
||||
"groups": {
|
||||
"type": "boolean",
|
||||
"description": "Groups allows the service to list the impersonated user's teams."
|
||||
},
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
"description": "Permissions are the permissions that the plugin needs when impersonating a user. The intersection of this set with the impersonated user's permission guarantees that the client will not gain more privileges than the impersonated user has.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"action": {
|
||||
"type": "string"
|
||||
},
|
||||
"scope": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user