1
0
Fork 0
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:
Harvey Kandola 2017-04-27 12:43:11 +01:00
parent 6944d57707
commit ef6b7f429c

View file

@ -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) => {