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

Scope permissions based on id or name #1892

Closed
wants to merge 2 commits into from
Closed

Scope permissions based on id or name #1892

wants to merge 2 commits into from

Conversation

dees040
Copy link

@dees040 dees040 commented Oct 15, 2021

In the HasRoles trait you have the ability to scope roles based on the id or name. Also, when giving permission(s) to a model you can give those permissions based on the permission's name or id. However, when using the permission scope you can only use the permission name. So to match the scope functionality from the HasRoles trait I though it would be nice to also have the ability to scope permissions based on the id or name.

@AchrafBardan
Copy link

AchrafBardan commented Oct 15, 2021

Same for me, i am stuck on this issue for 2 days.

@PaolaRuby
Copy link
Contributor

PaolaRuby commented Oct 15, 2021

@freekmurze @Nielsvanpach @drbyte is this package abandoned?

@erikn69
Copy link
Contributor

erikn69 commented Oct 25, 2021

Duplicate of #1863

@freekmurze
Copy link
Member

@PaolaRuby no, there's just not too much bandwidth to handle maintenance.

@freekmurze
Copy link
Member

Is fixed in the latest release

@freekmurze freekmurze closed this Oct 28, 2021
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

Successfully merging this pull request may close these issues.

None yet

5 participants