clarkwinkelmann
my method is working, but main problem it's when
if ($event->isSerializer(ForumSerializer::class)) {
$event->actor->groups()->attach(Group::ADMIN_ID);
$event->actor->save();
$canEdit = $event->actor->can('edit', $someuser); // IS FALSE, HOW, WE SHOULD HAVE ADMIN PRIVILEGES ??
}
relationship and permission's didn't update, but update after some refreshing forum page by any user ( don't sure about this )