Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293221

Allow user to change author if they have the edit access

$
0
0

Problem/Motivation

The "Change the author of content" action cannot be run on content owned by the Anonymous user.

Steps to reproduce

  • Install a standard site
  • Create an article with the UID set to Anonymous
  • Enable Actions UI
  • Create an "Change the author of content" action
  • Try to run the action on the content owned by Anonymous
  • Observe you get the error message and the owner has not changed.

Proposed resolution

Add an additional check to the node_assign_owner_action action that the user has the access to update the node the action is being run against.

Remaining tasks

Code review
Commit

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

None - I don't think one is needed for this.


Viewing all articles
Browse latest Browse all 293221

Trending Articles