Skip to content
Snippets Groups Projects

Entity queries must explicitly set issue fixed

Open sarwan verma requested to merge issue/redhen-3389687:3389687-entity-queries-must into 2.x
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
263 263
264 264 // Find Contacts linked to the current Drupal User.
265 265 $query = \Drupal::entityQuery('redhen_contact');
266 $query->accessCheck(FALSE);
  • This change is potentially dangerous because it removes the access checks on this query. Recommend changing to access check = TRUE.

    Suggested change
    266 $query->accessCheck(FALSE);
    266 $query->accessCheck();
  • Please register or sign in to reply
  • Recommend not merging this until access issue is resolved.

  • Please register or sign in to reply
    Loading