🗃️ Adds new config attributes for granular auth access

This commit is contained in:
Alicia Sykes
2021-08-20 22:20:40 +01:00
parent eca0c44320
commit 95bc5d2c49
2 changed files with 24 additions and 0 deletions

View File

@@ -369,6 +369,27 @@
"minimum": 1,
"maximum": 12,
"description": "Number of items per row"
},
"hideForUsers": {
"type": "array",
"description": "Section will be visible to all users, except for those specified in this list",
"items": {
"type": "string",
"description": "Username for the user that will not be able to view this section"
}
},
"showForUsers": {
"type": "array",
"description": "Section will be hidden from all users, except for those specified in this list",
"items": {
"type": "string",
"description": "Username for the user that will have access to this section"
}
},
"hideForGuests": {
"type": "boolean",
"default": false,
"description": "If set to true, section will be visible for logged in users, but not for guests"
}
}
},