Add Access Unpublished module

Created on 4 December 2023, about 1 year ago
Updated 10 December 2023, about 1 year ago

Problem/Motivation

Requested by Razem β†’

This is an easy to use module that grants access to view unpublished content (node, media, anything that implements EntityPublishedInterface) to anyone who has a unique URL and appropriate permissions. This module is useful for proofreaders, content checkers etc. Webmaster does not need to create user accounts and can keep the website safer. Each content item has its own unique access URL.

Users on unpublished content edit forms can see a β€œTemporary unpublished access” tab in the sidebar. All access tokens for this entity are listed there and it’s possible to generate new ones, delete tokens or renew them after they are expired.

Asked maintainers

Abu Zakham β†’
Who should be allowed to Generate tokens? Only Site Admin
Do you configure this for each entity type? keep it for all of them
Do you have any note or issues over this module? Module tested and utilized on [Big projects] without any problems

Proposed resolution

  • Add the "drupal/access_unpublished": "~1" in the composer.json file. 3.0.x branch
  • Enable the module under theinstall: part. to allow fir disabling the module in some selected projects. 3.0.x branch, to be used inVarbase ~10
  • Add a hook update to enable the module and add the default configurations for it. ( or change third party settings )
  • Grant permissions to generate tokens only for the site admin user role
  • Grant access unpublished permissions for anonymous and all authenticated user roles.

  • Noticed that the Access Unpublished module has NO relation with workflows.
    It works without it.

  • Add developers and user guide documentation for the Access unpublished module

Remaining tasks

  • βœ… File an issue about this project
  • βœ… Addition/Change/Update/Fix to this project
  • βœ… Testing to ensure no regression
  • βž– Automated unit/functional testing coverage
  • βž– Developer Documentation support on feature change/addition
  • βž– User Guide Documentation support on feature change/addition
  • βž– UX/UI designer responsibilities
  • βœ… Accessibility and Readability
  • βœ… Code review from 1 Varbase core team member
  • βœ… Full testing and approval
  • βœ… Credit contributors
  • βœ… Review with the product owner
  • βœ… Update Release Notes and Update Helper on new feature change/addition
  • βœ… Release varbase-10.0.0-rc1 β†’ , varbase_workflow-3.0.2 β†’

Varbase update type

  • βœ… No Update
  • βž– Optional Update
  • βž– Forced Update
  • βž– Forced Update if Unchanged

User interface changes

Navigate to Varbase Workflow Settings

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024