mirror of
https://github.com/documize/community.git
synced 2025-08-05 13:35:25 +02:00
PRovide LDAP sync and authentication
This commit is contained in:
parent
63b17f9b88
commit
074eea3aeb
38 changed files with 567 additions and 499 deletions
|
@ -57,12 +57,20 @@ export default Controller.extend({
|
|||
this.loadUsers(filter);
|
||||
},
|
||||
|
||||
onSync() {
|
||||
onSyncKeycloak() {
|
||||
this.set('syncInProgress', true);
|
||||
this.get('globalSvc').syncKeycloak().then(() => {
|
||||
this.set('syncInProgress', false);
|
||||
this.loadUsers('');
|
||||
});
|
||||
},
|
||||
|
||||
onSyncLDAP() {
|
||||
this.set('syncInProgress', true);
|
||||
this.get('globalSvc').syncLDAP().then(() => {
|
||||
this.set('syncInProgress', false);
|
||||
this.loadUsers('');
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
{{customize/user-list users=model
|
||||
syncInProgress=syncInProgress
|
||||
userLimit=userLimit
|
||||
onSync=(action "onSync")
|
||||
onSyncKeycloak=(action "onSyncKeycloak")
|
||||
onSyncLDAP=(action "onSyncLDAP")
|
||||
onFilter=(action "onFilter")
|
||||
onDelete=(action "onDelete")
|
||||
onSave=(action "onSave")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue