Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Update ConfigSchema.json

hypermagicmountain3091f6db78d0
diff --git a/src/utils/config/ConfigSchema.json b/src/utils/config/ConfigSchema.json
index 27206a82..113c0861 100644
--- a/src/utils/config/ConfigSchema.json
+++ b/src/utils/config/ConfigSchema.json
@@ -55,54 +55,78 @@
"default": false,
"description": "If set to true, page will be visible for logged in users, but not for guests"
},
+ "showForGroups": {
+ "title": "Show for Groups",
+ "type": "array",
+ "description": "Page will be hidden from all users except those with one or more of these SSO groups",
+ "items": {
+ "type": "string",
+ "description": "Name of the group that will be able to view this page"
+ }
+ },
+ "hideForGroups": {
+ "title": "Hide for Groups",
+ "type": "array",
+ "description": "Page will be hidden from users with any of these SSO groups",
+ "items": {
+ "type": "string",
+ "description": "Name of the group that will not be able to view this page"
+ }
+ },
+ "showForRoles": {
+ "title": "Show for Roles",
+ "type": "array",
+ "description": "Page will be hidden from all users except those with one or more of these SSO roles",
+ "items": {
+ "type": "string",
+ "description": "Name of the role that will be able to view this page"
+ }
+ },
+ "hideForRoles": {
+ "title": "Hide for Roles",
+ "type": "array",
+ "description": "Page will be hidden from users with any of these SSO roles",
+ "items": {
+ "type": "string",
+ "description": "Name of the role that will not be able to view this page"
+ }
+ },
"showForKeycloakUsers": {
- "title": "Show for select Keycloak groups or roles",
+ "title": "Show for Groups/Roles (legacy)",
"type": "object",
- "description": "Configure the Keycloak groups or roles that will have access to this page",
+ "description": "Legacy form of showForGroups and showForRoles",
"additionalProperties": false,
"properties": {
"groups": {
- "title": "Show for Groups",
"type": "array",
- "description": "Page will be hidden from all users except those with one or more of these groups",
"items": {
- "type": "string",
- "description": "Name of the group that will be able to view this page"
+ "type": "string"
}
},
"roles": {
- "title": "Show for Roles",
"type": "array",
- "description": "Page will be hidden from all users except those with one or more of these roles",
"items": {
- "type": "string",
- "description": "Name of the role that will be able to view this page"
+ "type": "string"
}
}
}
},
"hideForKeycloakUsers": {
- "title": "Hide for select Keycloak groups or roles",
+ "title": "Hide for Groups/Roles (legacy)",
"type": "object",
- "description": "Configure the Keycloak groups or roles that will not have access to this page",
+ "description": "Legacy form of hideForGroups and hideForRoles",
"additionalProperties": false,
"properties": {
"groups": {
- "title": "Hide for Groups",
"type": "array",
- "description": "Page will be hidden from users with any of these groups",
"items": {
- "type": "string",
- "description": "name of the group that will not be able to view this page"
+ "type": "string"
}
},
"roles": {
- "title": "Hide for Roles",
"type": "array",
- "description": "Page will be hidden from users with any of roles",
"items": {
- "type": "string",
- "description": "name of the role that will not be able to view this page"
+ "type": "string"
}
}
}
@@ -878,16 +902,16 @@
"title": "Sort By",
"type": "string",
"enum": [
- "Default",
- "Most-used",
- "Last-used",
- "Alphabetical",
- "Alphabetical reverse",
- "Provider",
- "Provider reverse",
- "Item ID",
- "Item ID reverse",
- "Random"
+ "default",
+ "most-used",
+ "last-used",
+ "alphabetical",
+ "reverse-alphabetical",
+ "provider",
+ "provider-reverse",
+ "itemID",
+ "itemID-reverse",
+ "random"
],
"default": "default",
"description": "How to sort items within the section. By default items are displayed in the order in which they are listed in within the config"
@@ -989,54 +1013,78 @@
"default": false,
"description": "If set to true, section will be visible for logged in users, but not for guests"
},
+ "showForGroups": {
+ "title": "Show for Groups",
+ "type": "array",
+ "description": "Section will be hidden from all users except those with one or more of these SSO groups",
+ "items": {
+ "type": "string",
+ "description": "Name of the group that will be able to view this section"
+ }
+ },
+ "hideForGroups": {
+ "title": "Hide for Groups",
+ "type": "array",
+ "description": "Section will be hidden from users with any of these SSO groups",
+ "items": {
+ "type": "string",
+ "description": "Name of the group that will not be able to view this section"
+ }
+ },
+ "showForRoles": {
+ "title": "Show for Roles",
+ "type": "array",
+ "description": "Section will be hidden from all users except those with one or more of these SSO roles",
+ "items": {
+ "type": "string",
+ "description": "Name of the role that will be able to view this section"
+ }
+ },
+ "hideForRoles": {
+ "title": "Hide for Roles",
+ "type": "array",
+ "description": "Section will be hidden from users with any of these SSO roles",
+ "items": {
+ "type": "string",
+ "description": "Name of the role that will not be able to view this section"
+ }
+ },
"showForKeycloakUsers": {
- "title": "Show for select Keycloak groups or roles",
+ "title": "Show for Groups/Roles (legacy)",
"type": "object",
- "description": "Configure the Keycloak groups or roles that will have access to this section",
+ "description": "Legacy form of showForGroups and showForRoles",
"additionalProperties": false,
"properties": {
"groups": {
- "title": "Show for Groups",
"type": "array",
- "description": "Section will be hidden from all users except those with one or more of these groups",
"items": {
- "type": "string",
- "description": "Name of the group that will be able to view this section"
+ "type": "string"
}
},
"roles": {
- "title": "Show for Roles",
"type": "array",
- "description": "Section will be hidden from all users except those with one or more of these roles",
"items": {
- "type": "string",
- "description": "Name of the role that will be able to view this section"
+ "type": "string"
}
}
}
},
"hideForKeycloakUsers": {
- "title": "Hide for select Keycloak groups or roles",
+ "title": "Hide for Groups/Roles (legacy)",
"type": "object",
- "description": "Configure the Keycloak groups or roles that will not have access to this section",
+ "description": "Legacy form of hideForGroups and hideForRoles",
"additionalProperties": false,
"properties": {
"groups": {
- "title": "Hide for Groups",
"type": "array",
- "description": "Section will be hidden from users with any of these groups",
"items": {
- "type": "string",
- "description": "name of the group that will not be able to view this section"
+ "type": "string"
}
},
"roles": {
- "title": "Hide for Roles",
"type": "array",
- "description": "Section will be hidden from users with any of roles",
"items": {
- "type": "string",
- "description": "name of the role that will not be able to view this section"
+ "type": "string"
}
}
}
@@ -1129,54 +1177,78 @@
"default": false,
"description": "If set to true, item will be visible for logged in users, but not for guests"
},
+ "showForGroups": {
+ "title": "Show for Groups",
+ "type": "array",
+ "description": "Item will be hidden from all users except those with one or more of these SSO groups",
+ "items": {
+ "type": "string",
+ "description": "Name of the group that will be able to view this item"
+ }
+ },
+ "hideForGroups": {
+ "title": "Hide for Groups",
+ "type": "array",
+ "description": "Item will be hidden from users with any of these SSO groups",
+ "items": {
+ "type": "string",
+ "description": "Name of the group that will not be able to view this item"
+ }
+ },
+ "showForRoles": {
+ "title": "Show for Roles",
+ "type": "array",
+ "description": "Item will be hidden from all users except those with one or more of these SSO roles",
+ "items": {
+ "type": "string",
+ "description": "Name of the role that will be able to view this item"
+ }
+ },
+ "hideForRoles": {
+ "title": "Hide for Roles",
+ "type": "array",
+ "description": "Item will be hidden from users with any of these SSO roles",
+ "items": {
+ "type": "string",
+ "description": "Name of the role that will not be able to view this item"
+ }
+ },
"showForKeycloakUsers": {
- "title": "Show for select Keycloak groups or roles",
+ "title": "Show for Groups/Roles (legacy)",
"type": "object",
- "description": "Configure the Keycloak groups or roles that will have access to this item",
+ "description": "Legacy form of showForGroups and showForRoles",
"additionalProperties": false,
"properties": {
"groups": {
- "title": "Show for Groups",
"type": "array",
- "description": "Item will be hidden from all users except those with one or more of these groups",
"items": {
- "type": "string",
- "description": "Name of the group that will be able to view this item"
+ "type": "string"
}
},
"roles": {
- "title": "Show for Roles",
"type": "array",
- "description": "Item will be hidden from all users except those with one or more of these roles",
"items": {
- "type": "string",
- "description": "Name of the role that will be able to view this item"
+ "type": "string"
}
}
}
},
"hideForKeycloakUsers": {
- "title": "Hide for select Keycloak groups or roles",
+ "title": "Hide for Groups/Roles (legacy)",
"type": "object",
- "description": "Configure the Keycloak groups or roles that will not have access to this item",
+ "description": "Legacy form of hideForGroups and hideForRoles",
"additionalProperties": false,
"properties": {
"groups": {
- "title": "Hide for Groups",
"type": "array",
- "description": "Item will be hidden from users with any of these groups",
"items": {
- "type": "string",
- "description": "name of the group that will not be able to view this item"
+ "type": "string"
}
},
"roles": {
- "title": "Hide for Roles",
"type": "array",
- "description": "Item will be hidden from users with any of roles",
"items": {
- "type": "string",
- "description": "name of the role that will not be able to view this item"
+ "type": "string"
}
}
}