Fix MCP plugin access check

Created on 22 February 2025, about 1 month ago

The current agent access check is incorrect. The condition $agent->hasAccess() !== AccessResult::allowed() always returns false. It should be updated to !$agent->hasAccess()->isAllowed()

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇪Georgia gagosha

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024