You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CoreID/app/ldap/routes/groups.routes.js

51 lines
957 B

const groups_routes = {
prefix: false, // false | string
middleware: [
'Logger'
],
search: {
'ou=groups': [
'ldap_middleware::BindUser',
'ldap_controller::Groups.search_groups',
],
},
/*bind: {
'ou=groups': ['ldap_controller::Users.bind'],
},*/
/*add: {
'ou=groups': [
'ldap_middleware::BindUser',
'ldap_controller::Groups.add_group',
],
},
del: {
'ou=people': [
'ldap_middleware::BindUser',
'ldap_controller::Users.delete',
],
},
modify: {
'ou=people': [
'ldap_middleware::BindUser',
'ldap_controller::Users.modify_people',
],
},
compare: {
'ou=people': [
'ldap_middleware::BindUser',
'ldap_controller::Users.compare',
],
},*/
}
module.exports = exports = groups_routes