Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Assign Role instead of Sync #28

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Conversation

inmanturbo
Copy link
Contributor

This will prevent it breaking apps that are already using spatie/permissions.

syncRoles() detaches all previous roles, so the "owner" loses all their previously held permissions (via roles)!

@andrewdrake andrewdrake added the bug Something isn't working label Jul 12, 2021
@andrewdrake andrewdrake self-assigned this Jul 12, 2021
@andrewdrake andrewdrake merged commit c52b2f8 into venturedrake:master Jul 13, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants