mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
9 lines
184 B
JavaScript
9 lines
184 B
JavaScript
import Settings from '/models/settings';
|
|
|
|
Settings.allow({
|
|
async update(userId) {
|
|
const user = await Meteor.users.findOneAsync(userId);
|
|
return user && user.isAdmin;
|
|
},
|
|
});
|