Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support 404labfr/laravel-impersonate #904

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

Open
jose123v wants to merge 1 commit into owen-it:master
base: master
Choose a base branch
Loading
from jose123v:patch-1

Conversation

@jose123v
Copy link

@jose123v jose123v commented Feb 28, 2024

Closes #903

Using 404labfr/laravel-impersonate in owen-it/laravel-auditing saves the impersonated user instead of the impersonating user

parallels999, fredsal, and cesarreyes3 reacted with thumbs up emoji
Copy link
Contributor

@willpower232 willpower232 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically speaking, one has the ability to provide a custom user resolver in the configuration so this would be better as its own package which relies on owen-it/laravel-auditing and perhaps extends the base user resolver so it can still be used via similar code.

Also if this package starts supporting this impersonation library, it would probably end up supporting other libraries that change the user and that would require extra time and testing from the maintainers.

rizkypujiraharja reacted with thumbs up emoji cesarreyes3, fredsal, josevv28, and ssw1cblarrion reacted with thumbs down emoji
Copy link

It may take some time until you realize this problem, it would be better to have it

fredsal reacted with thumbs up emoji

Copy link
Contributor

erikn69 commented May 28, 2024

I have my doubts still,
it could help to get the real executor of the action in the case of that package, and if that package does not exist it should not affect the performance and it seems fine to me

Copy link

calebdw commented Oct 17, 2024

I use both packages and my audits table has both user and impersonator columns

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

Reviewers

@willpower232 willpower232 willpower232 requested changes

+1 more reviewer

@ssw1cblarrion ssw1cblarrion ssw1cblarrion approved these changes

Reviewers whose approvals may not affect merge requirements

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /