You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
It really depends what permissions package you are using.
I use spatie and you can just change the ‘edit’, ‘create’ etc and condition then on impersonation. If env is production and is impersonated edit, create and delete are ‘read’
________________________________
From: harry-fakir ***@***.***>
Sent: Thursday, February 2, 2023 9:08:09 PM
To: 404labfr/laravel-impersonate ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [404labfr/laravel-impersonate] Impersonate Read only rights in production environment but edit rights in local environment (Issue #176)
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.
—
Reply to this email directly, view it on GitHub<#176>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYSFUJPJHIGKOAVXSMMDHG3WVQO3TANCNFSM6AAAAAAUPQK754>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
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.
The text was updated successfully, but these errors were encountered: