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