The Domain Access module attempts to allow users without the 'administer nodes' permission the ability to edit certain node elements that they are not normally allowed to.

This applies to users with the 'edit domain nodes' permission.

However, the logic inside node_submit() disallows the user from changing the author field. http://api.drupal.org/api/function/node_submit/5

And the logic in menu_nodeapi() disallows the user from changing a menu path. http://api.drupal.org/api/function/menu_nodeapi/5

Not sure how best to address these issues. It may be that they must be removed from the options.

Comments

agentrickard’s picture

Category: bug » feature
Status: Active » Postponed

This has been noted in the UI, but not fixed.

blackdog’s picture

Version: 5.x-1.0 » 6.x-2.x-dev

This is still an issue in 6.x unfortunately. I too think it's best to remove those options all together if we can't work around them somehow.

agentrickard’s picture

I would agree, removal is the only real option, since this is a core issue.

agentrickard’s picture

Title: Cannot change node author or menu settings » Remove options to change node author or menu settings
Status: Postponed » Active

Changing title and status. Let's just fix this. I think the publication date applies here too.

blackdog’s picture

Status: Active » Needs review
StatusFileSize
new1.41 KB

Here's the patch to remove the two options. Don't know if need to change the README as well, it doesn't say anything about authoring or menu settings so it may be fine as is. Needs a changelog entry though.

agentrickard’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. RTBC. No docs changes needed, just a note in the Changelog.

agentrickard’s picture

Status: Reviewed & tested by the community » Needs work

Hm. Do we need an update hook for this? To erase the current variable and rest to the proper one?

Probably.

blackdog’s picture

Status: Needs work » Needs review
StatusFileSize
new2.32 KB

How's this?

agentrickard’s picture

Status: Needs review » Patch (to be ported)

Perfect. Committed to HEAD.

agentrickard’s picture

Status: Patch (to be ported) » Fixed

Committed to D5.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.