-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
for v6 - There is no role with ID org_uuid
for guard api
#2591
Comments
It seems to me that you made some mistake in the configuration. Upload a demo repo with the code showing the problem |
When reformatting your posted code of: $userOrgManager->assignRole([
$roleOrgManager->id => [
'organization_id' => $organization->id
]
]); That's not the kind of array that
|
Dear contributor, because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it. |
Versions
PHP version: 8.1
Database version: mysql latest
changed migration file:
Enum class:
and Seeder file:
and i got this error - There is no role with ID
org_uuid
for guardapi
already checked .. this role created on the roles table with guard api .
i tried to create roles without organization id but i got same error again.
why i need to fill team_id (it set required and primary in migration file) on the roles table when set teams => true in the permissions.php (config)
The text was updated successfully, but these errors were encountered: