mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
14 lines
281 B
JavaScript
14 lines
281 B
JavaScript
import Users from 'meteor/vulcan:users';
|
|
|
|
const membersActions = [
|
|
'movies.new',
|
|
'movies.edit.own',
|
|
'movies.remove.own',
|
|
];
|
|
Users.groups.members.can(membersActions);
|
|
|
|
const adminActions = [
|
|
'movies.edit.all',
|
|
'movies.remove.all'
|
|
];
|
|
Users.groups.admins.can(adminActions);
|