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

how to delete permission #230

Closed
Hyperizon opened this issue Oct 20, 2020 · 2 comments
Closed

how to delete permission #230

Hyperizon opened this issue Oct 20, 2020 · 2 comments

Comments

@Hyperizon
Copy link

Hi Nasir,

I accidentally opened some privileges, how can I destroy them?
image

@Hyperizon
Copy link
Author

I deleted manually from the permission table in the database, I could not find another deletion way

@nasirkhan
Copy link
Owner

sorry that there is ready way to delete permissions. i also checked the permissions package doc and there is none (https://spatie.be/docs/laravel-permission/v3/basic-usage/artisan)

deleting from database might be ok, as permissions can be integrated deeply into the code easy delete can cause issue sometimes. that might be the reason of not having it.

thanks for using this project.

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