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

Impersonate Read only rights in production environment but edit rights in local environment #176

Open
harry-fakir opened this issue Feb 2, 2023 · 2 comments

Comments

@harry-fakir
Copy link

is it possible to have read only rights when impersonating a user in production environment but edit rights in local environment?

I am working on an APP where i would want edit rights in the local environment when impersonating a user for debugging purposes but don't want to errorsonly edit a users profile when in production - hence read only.

@tonypartridger
Copy link

tonypartridger commented Feb 2, 2023 via email

@harry-fakir
Copy link
Author

Thanks! I am using spatie/laravel-permission :)

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

No branches or pull requests

2 participants