You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permissions: Support service account in user_id field (#1051)
* Permissions: Support service account in `user_id` field
Closes#994
This seems like an undocumented feature that's known to users.
You can set a service account ID in the `user_id` field of permissions resources
In this PR:
- Make this behavior work with the new ID format (`<org>:<id>`)
- Document that the field supports an SA
- Add tests to make sure we don't regress it again
* Do not test Grafana 8
-`built_in_role` (String) Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to ``.
85
94
-`team_id` (String) ID of the team to manage permissions for. Defaults to `0`.
86
-
-`user_id` (Number) ID of the user to manage permissions for. Defaults to `0`.
95
+
-`user_id` (String) ID of the user or service account to manage permissions for. Defaults to `0`.
0 commit comments