Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on readme example #38

Open
muka opened this issue Aug 3, 2018 · 3 comments
Open

Error on readme example #38

muka opened this issue Aug 3, 2018 · 3 comments
Labels

Comments

@muka
Copy link

muka commented Aug 3, 2018

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!

@seeden
Copy link
Owner

seeden commented Aug 3, 2018

use version 4.x
I am still working on the 5.x version
but thanks for the issue report

@seeden seeden added the bug label Aug 3, 2018
@muka
Copy link
Author

muka commented Aug 3, 2018

Great thank you!

@krishansaini92
Copy link

Hi
Do we have any update on this? We are still facing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants