protected function permissions($group) { return $this->hasMany($group, 'Flarum\\Api\\Serializers\\PermissionSerializer'); }