Invalid permission check in \XFRM\Entity\ResourceItem::canTeamMemberBeAdded

Status
This content is read-only, or is not open for further replies.

vbresults

Guest
offline
Line 418:
PHP:

Code:
        return $user->hasResourceCategoryPermission(
            $this->resource_category_id,
            'add'
        );

This permission check shouldn't be here, someone being a team member has nothing to do with them being able to post in a resource category.

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom