Add App setup wizard

This commit is contained in:
garrettmills
2020-05-21 22:56:48 -05:00
parent ca11e3afae
commit b275391674
13 changed files with 475 additions and 8 deletions

View File

@@ -22,6 +22,10 @@ const ldap_routes = {
['middleware::api:Permission', { check: 'v1:ldap:groups:get' }],
'controller::api:v1:LDAP.get_group',
],
'/config': [
['middleware::api:Permission', { check: 'v1:ldap:config:get' }],
'controller::api:v1:LDAP.get_config',
],
},
post: {

View File

@@ -5,8 +5,6 @@ const saml_routes = {
],
// TODO SLO
get: {
'/metadata.xml': ['controller::saml:SAML.get_metadata'],
'/sso': [

View File

@@ -0,0 +1,13 @@
const misc_routes = {
prefix: '/dash',
middleware: ['auth:UserOnly'],
get: {
'/app/setup': [
'controller::dash:Misc.get_app_setup'
],
},
}
module.exports = exports = misc_routes