Dashboards: add isPublic to dto and remove public endpoint call (#113334)
--------- Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
This commit is contained in:
co-authored by
Matheus Macabu
parent
867e8bb98f
commit
4cecab3185
@@ -2324,6 +2324,7 @@
|
||||
"com.github.grafana.grafana.apps.dashboard.pkg.apis.dashboard.v0alpha1.DashboardAccess": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"isPublic",
|
||||
"canSave",
|
||||
"canEdit",
|
||||
"canAdmin",
|
||||
@@ -2356,6 +2357,10 @@
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"isPublic": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"slug": {
|
||||
"description": "Metadata fields",
|
||||
"type": "string"
|
||||
|
||||
@@ -1018,6 +1018,7 @@
|
||||
"description": "Information about how the requesting user can use a given dashboard",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"isPublic",
|
||||
"canSave",
|
||||
"canEdit",
|
||||
"canAdmin",
|
||||
@@ -1050,6 +1051,10 @@
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"isPublic": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"slug": {
|
||||
"description": "Metadata fields",
|
||||
"type": "string"
|
||||
|
||||
@@ -1019,6 +1019,7 @@
|
||||
"description": "Information about how the requesting user can use a given dashboard",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"isPublic",
|
||||
"canSave",
|
||||
"canEdit",
|
||||
"canAdmin",
|
||||
@@ -1051,6 +1052,10 @@
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"isPublic": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"slug": {
|
||||
"description": "Metadata fields",
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user