mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
14 lines
279 B
JavaScript
14 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);
|