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

attachPermission and detachPermission #57

Open
luanrodrigues opened this issue Jul 19, 2015 · 1 comment
Open

attachPermission and detachPermission #57

luanrodrigues opened this issue Jul 19, 2015 · 1 comment

Comments

@luanrodrigues
Copy link

Using 'attachPermission' defender inserts a new register at table permission_role with field 'value' 0.
When 'detachPermission' is used, defender deletes the row for permission passed.

attachPermission should insert(if not exist) the register and set field 'value' = 1.
and for detachPermission should not delete the register, only set field 'value' to 0.

This way the field value will be used to determinate if have or not the permission.

@luanrodrigues
Copy link
Author

hello guys, do you have any news about this issue/proposal?? thank you all!

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

No branches or pull requests

2 participants