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