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