rbac
rbac copied to clipboard
Error on readme example
Hi I am trying to use this library but running the README example I get this error from the Memory storage
You can grant yourself admin
This is the setup configuration
{
roles: ['superadmin', 'admin', 'user', 'guest'],
permissions: {
user: ['create', 'delete'],
password: ['change', 'forgot'],
article: ['create'],
rbac: ['update']
},
grants: {
guest: ['create_user', 'forgot_password'],
user: ['change_password'],
admin: ['user', 'delete_user', 'update_rbac'],
superadmin: ['admin']
}
}
Is it a bug or an issue on my side?
I had hit also One of item is undefined which is not really easy to understand, what does it means?
Thanks!
use version 4.x I am still working on the 5.x version but thanks for the issue report
Great thank you!
Hi Do we have any update on this? We are still facing this issue.