Add App setup wizard
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -5,8 +5,6 @@ const saml_routes = {
|
||||
|
||||
],
|
||||
|
||||
// TODO SLO
|
||||
|
||||
get: {
|
||||
'/metadata.xml': ['controller::saml:SAML.get_metadata'],
|
||||
'/sso': [
|
||||
|
||||
13
app/routing/routers/dash/misc.routes.js
Normal file
13
app/routing/routers/dash/misc.routes.js
Normal 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
|
||||
Reference in New Issue
Block a user