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

enhancement: Global Scopes Support #19

Open
robsoncombr opened this issue Apr 6, 2017 · 0 comments
Open

enhancement: Global Scopes Support #19

robsoncombr opened this issue Apr 6, 2017 · 0 comments
Assignees

Comments

@robsoncombr
Copy link

Hello,

In my system, I have 'environment' and I use Global Scopes, so sudo-su does not return all available users in the database.

We could be able to choose if we want to ignore Global Scopes in config file so on SudoSu.php > getUsers() method, based on configuration, you could run $user->withoutGlobalScopes()->get() instead of only $user->get()

Hope it is a nice idea and is implemented.

Thank you,

Robson

@mrterryh mrterryh self-assigned this May 4, 2017
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