mirror of
https://github.com/documize/community.git
synced 2025-08-05 21:45:28 +02:00
[WIP] Basic LDAP connectivity
This commit is contained in:
parent
f28b7497fa
commit
8d3dfcc3c7
72 changed files with 5039 additions and 3548 deletions
|
@ -82,9 +82,21 @@ export default Service.extend({
|
|||
}
|
||||
},
|
||||
|
||||
syncExternalUsers() {
|
||||
syncKeycloak() {
|
||||
if(this.get('sessionService.isAdmin')) {
|
||||
return this.get('ajax').request(`users/sync`, {
|
||||
return this.get('ajax').request(`global/sync/keycloak`, {
|
||||
method: 'GET'
|
||||
}).then((response) => {
|
||||
return response;
|
||||
}).catch((error) => {
|
||||
return error;
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
syncLDAP() {
|
||||
if(this.get('sessionService.isAdmin')) {
|
||||
return this.get('ajax').request(`global/sync/ldap`, {
|
||||
method: 'GET'
|
||||
}).then((response) => {
|
||||
return response;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue