IAM: Add role to User (#111256)

* codegen fix

* Return user role from the legacy store

* Lint

* Add tests, gen openapi

* make generate

* revert go.mod, go.sum, go.work.sum changes

* Update go.mod and go.sum
This commit is contained in:
Misi
2025-09-19 11:12:00 +02:00
committed by GitHub
parent f48efa1003
commit c012a95fa1
39 changed files with 1485 additions and 274 deletions
@@ -4155,7 +4155,8 @@
"grafanaAdmin",
"login",
"name",
"provisioned"
"provisioned",
"role"
],
"properties": {
"disabled": {
@@ -4183,9 +4184,12 @@
"default": ""
},
"provisioned": {
"description": "What to do with salt, rands and password?",
"type": "boolean",
"default": false
},
"role": {
"type": "string",
"default": ""
}
}
},
@@ -6139,7 +6143,8 @@
"grafanaAdmin",
"login",
"name",
"provisioned"
"provisioned",
"role"
],
"properties": {
"disabled": {
@@ -6167,9 +6172,12 @@
"default": ""
},
"provisioned": {
"description": "What to do with salt, rands and password?",
"type": "boolean",
"default": false
},
"role": {
"type": "string",
"default": ""
}
}
},