Integrate with Override Node Options module

Created on 14 December 2023, about 1 year ago

Problem/Motivation

The Override Node Options module allows permissions to be set to each field within the Authoring information and Publishing options. Integrating with this module would allow us finer control of the permissions to change the author via the change author action.

Proposed resolution

  • Check for permissions provided by Override Node options in the access method of the ChangeAuthorActionBase class if the module has been enabled.
  • Implement a custom route access check for the change author form. This checks for permissions provided by Override Node Options if it has been enabled. If not it falls back to the original implementation and checks for the administer users permission.
Feature request
Status

Needs review

Version

1.1

Component

Code

Created by

🇬🇧United Kingdom minirobot London

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

Comments & Activities

  • Issue created by @minirobot
  • 🇬🇧United Kingdom minirobot London

    Adding a patch.

    Testing steps

    1. Install and enable the Override Node Options module
    2. Set permissions provided by the Override Node Options module such as Override [content type] authored by option or override all authored by option.
    3. Attempt to change the author of several nodes to verify it is working.
    4. Test also with disabled permissions and verify.
  • Status changed to Needs review about 1 year ago
  • 🇬🇧United Kingdom minirobot London
Production build 0.71.5 2024