mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
15 lines
279 B
JavaScript
15 lines
279 B
JavaScript
![]() |
import Users from 'meteor/nova: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);
|