mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Closes #94 - instance admin user sync
This commit is contained in:
parent
6944d57707
commit
ef6b7f429c
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export default Ember.Service.extend({
|
|||
},
|
||||
|
||||
syncExternalUsers() {
|
||||
if(this.get('sessionService.isGlobalAdmin')) {
|
||||
if(this.get('sessionService.isAdmin')) {
|
||||
return this.get('ajax').request(`users/sync`, {
|
||||
method: 'GET'
|
||||
}).then((response) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue