CoreID/app/ldap/routes/sudo.routes.js
garrettmills 943c30fa96
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Add support for sudo
2021-03-10 23:43:16 -06:00

29 lines
368 B
JavaScript

const sudo_routes = {
prefix: false, // false | string
middleware: [
'Logger'
],
search: {
'ou=sudo': [
'ldap_middleware::BindUser',
'ldap_controller::Sudo.search_sudo',
],
},
bind: {},
add: {},
del: {},
modify: {},
compare: {},
}
module.exports = exports = sudo_routes