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

Policy.php user model #5

Open
bsormagec opened this issue Mar 13, 2019 · 4 comments
Open

Policy.php user model #5

bsormagec opened this issue Mar 13, 2019 · 4 comments

Comments

@bsormagec
Copy link

use App\User field will be set from settings. Because many other users using App\Models\Users it will be changeable from config file.

@richvida
Copy link

richvida commented Apr 6, 2019

+1

1 similar comment
@szymon-szychulski
Copy link

+1

@AforDesign
Copy link

+1

That would be helpful.
For now I've copied the Policy.php file to my own CustomPolicy.php, customized it and used that class instead.
It works for now, but could lead to potential problems in a future update of this package.

@PeaX10
Copy link

PeaX10 commented Aug 28, 2020

+1

An other alternative is to replace

use App\User;

by

use Illuminate\Foundation\Auth\User;

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

5 participants