Remove options to change node author or menu settings
agentrickard - February 28, 2008 - 02:10
| Project: | Domain Access |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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.

#1
This has been noted in the UI, but not fixed.
#2
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.
#3
I would agree, removal is the only real option, since this is a core issue.
#4
Changing title and status. Let's just fix this. I think the publication date applies here too.
#5
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.
#6
Looks good. RTBC. No docs changes needed, just a note in the Changelog.
#7
Hm. Do we need an update hook for this? To erase the current variable and rest to the proper one?
Probably.
#8
How's this?
#9
Perfect. Committed to HEAD.
#10
Committed to D5.
#11
Automatically closed -- issue fixed for 2 weeks with no activity.