Implement OAuth2 server, link oauth:Client and auth::Oauth2Client, implement permission checks
This commit is contained in:
@@ -105,7 +105,6 @@ class GroupsController extends LDAPController {
|
||||
|
||||
async get_resource_from_dn(dn) {
|
||||
const cn = this.get_cn_from_dn(dn)
|
||||
console.log({cn, dn})
|
||||
if ( cn ) {
|
||||
return this.Group.findOne({name: cn, ldap_visible: true})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user