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

Question: How can I get certain model Instance's users with ability 'update' ? #633

Open
greeto opened this issue Jul 17, 2023 · 1 comment

Comments

@greeto
Copy link

greeto commented Jul 17, 2023

I've:

  • User
  • Model: Project
  • I'm doing: $user->allow('update', $project);

The Question:
How can I get all users that related to the specific project? The idea is to do something like Github contributes. so I'm adding each user to the Model(Project)

@laravelbap
Copy link

Hello. Did you maybe solve this ?

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

2 participants