Closed aldofunes closed 8 years ago
Hi!
The admin role is a special role, which is defined by default.
https://github.com/nicolaslopezj/roles/blob/master/roles.js#L318
import {Roles} from 'meteor/nicolaslopezj:roles'
const AdminRole = Roles.adminRole
Oh, nice.
Thank you
Hello,
I am having problems defining roles. I get the following error:
Here is my /lib/roles.js file
There is no other file in which I define a role. Not even users added to admin role.
If I change the name to
admin2
or something else, no errors are thrown.Is there already a definition for admin role?