mirror of
https://github.com/documize/community.git
synced 2025-07-20 13:49:42 +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() {
|
syncExternalUsers() {
|
||||||
if(this.get('sessionService.isGlobalAdmin')) {
|
if(this.get('sessionService.isAdmin')) {
|
||||||
return this.get('ajax').request(`users/sync`, {
|
return this.get('ajax').request(`users/sync`, {
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue