mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 10:48:06 -05:00
9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
import AccessibilitySettings from '/models/accessibilitySettings';
|
|
|
|
AccessibilitySettings.allow({
|
|
async update(userId) {
|
|
const user = await Meteor.users.findOneAsync(userId);
|
|
return user && user.isAdmin;
|
|
},
|
|
});
|