Error on readme example
muka opened this issue · comments
Luca Capra commented
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!
Zlatko Fedor commented
use version 4.x
I am still working on the 5.x version
but thanks for the issue report
Luca Capra commented
Great thank you!
Krishan Saini commented
Hi
Do we have any update on this? We are still facing this issue.