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

Duplicate error on creating role #32

Closed
oklimm opened this issue Mar 24, 2015 · 3 comments
Closed

Duplicate error on creating role #32

oklimm opened this issue Mar 24, 2015 · 3 comments

Comments

@oklimm
Copy link

oklimm commented Mar 24, 2015

Duplicate error on creating role if permission with the same name already exists, and vice versa

@webvimark
Copy link
Owner

Hi, this module uses yii2 built-in rbac system and it's architecture. All roles, permissions and routes are stored in the same table

@oklimm
Copy link
Author

oklimm commented Mar 25, 2015

But when we are trying to create a second permission with the same name, a message appears
error1
The same message we get if we try to create two roles with the same name.
But on creating a role with the same name as permission has, we get error
error2

webvimark pushed a commit that referenced this issue Mar 30, 2015
@webvimark webvimark reopened this Mar 30, 2015
@webvimark
Copy link
Owner

Fixed it, thank you for pointing on this issue

webvimark pushed a commit that referenced this issue Apr 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants