Skip to main content

Content Access

Access Reason Keys

LICENSE_RETAIL = 'license_retail';
ADMIN_USER = 'administrator_user';
FREE_ISSUE = 'free_issue';
PREVIEW_ISSUE = 'preview_issue';
FREE_ACCESS = 'free_access';
BOUGHT_PUBLICATION = 'bought_publication';
CUSTOM_EXTERNAL_SCOPE = 'custom_external_scope';
SUBSCRIPTION = 'subscription';
LTI_ENTRY_POINT_FREE_ACCESS = 'lti_and_entry_point_free_access';

You can find it in this file: app/Support/ReasonsToAccessContent.php

Implementation Details

The access evaluation logic is implemented in the following key locations:

  • app/IssueUser.php - The userCanReadIssue method evaluates user access rights
  • app/Http/Controllers/Reader/ReaderController.php - The show method controls content display based on access rights

X

Graph View