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:
Joe Blubaugh
2023-02-03 21:50:24 +08:00
committed by GitHub
parent c819e95687
commit 41dc88bd25
3 changed files with 10 additions and 5 deletions

View File

@ -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",