rbac icon indicating copy to clipboard operation
rbac copied to clipboard

Error on readme example

Open muka opened this issue 7 years ago • 3 comments

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!

muka avatar Aug 03 '18 19:08 muka

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

seeden avatar Aug 03 '18 19:08 seeden

Great thank you!

muka avatar Aug 03 '18 21:08 muka

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

krishansaini92 avatar Apr 30 '20 06:04 krishansaini92