79753065

Date: 2025-09-02 04:15:07
Score: 1
Natty:
Report link

Since you enabled 'teams' => true in config/permission.php, the package expects a team_id value whenever you assign a role/permission.

To assign team
$teamId = 1; // or fetch/create your default team

$superAdmin->assignRole($superAdminRole, $teamId);

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yusuf Mukharom