[ TaoItemsRoles::ITEM_MANAGER => [ [ 'ext' => 'taoItems', ], ], ] ]; public function getDescription(): string { return 'Reinforce Item Manager access to all taoItems extension'; } public function up(Schema $schema): void { $setRolesAccess = $this->propagate(new SetRolesAccess()); $setRolesAccess( [ '--' . SetRolesAccess::OPTION_CONFIG, self::CONFIG, ] ); } public function down(Schema $schema): void { $this->throwIrreversibleMigrationException( 'This role should have been applied in the past, so we should not roll it back' ); } }