mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 11:13:11 +08:00
Adds a description field to plugin.json's pages:role field (#62439)
* Adds a description field to plugin.json's pages:role field There's no description of what a page object's "role" setting does. It controls whether a page will appear in the navigation menu for a user with a given role. * Update plugindef.cue with comments to match documentation. * make gen-cue
This commit is contained in:
@ -79,6 +79,7 @@
|
||||
},
|
||||
"role": {
|
||||
"type": "string",
|
||||
"description": "The minimum role a user must have to see this page in the navigation menu.",
|
||||
"enum": ["Admin", "Editor", "Viewer"]
|
||||
},
|
||||
"path": {
|
||||
@ -87,7 +88,7 @@
|
||||
},
|
||||
"addToNav": {
|
||||
"type": "boolean",
|
||||
"description": "Add the include to the side menu."
|
||||
"description": "Add the include to the navigation menu."
|
||||
},
|
||||
"defaultNav": {
|
||||
"type": "boolean",
|
||||
|
Reference in New Issue
Block a user