Hi,
I noticed users whose permission is set to not access site notes have a link to create content for the site note type.
The link leads them to an access denied page since they don't have permission, this seems a little unnecessary.
Is it possible to have a "Create Site Note" permission? Similar to CCK content types.
Thanks,
Drew
Comments
Comment #1
nancydruThe menu item to create the site note has "access site notes" as the permission, so it shouldn't be showing up.
Comment #2
drew reece commentedThat's what I thought, but it still shows up for the role 'Moderators'.
I don't have any roles assigned to access site notes, would that make a difference? It didn't seem to help by setting it for the 'admin' role.
The 'Moderator' role in question does have 'access content' and 'administer nodes' permission, could that be the reason?
The site also uses CCK.
I've reinstalled a fresh copy of the module on the site and cleared all the cache_* tables but it still returns. It's not a major problem, it would save me explaining what they are to the moderators.
Thanks,
Drew
Comment #3
nancydruHmm, I think I need to locate a core patch for you. I submitted it a long time ago, and I think you're falling into it.
Comment #4
nancydruThis is part of the problem: http://drupal.org/node/131950
But the real issue for you is "administer nodes." From the node.module (function node_access):
Comment #5
nancydruI guess, since I can't control core, I can't do much abut this.
Comment #6
drew reece commentedThanks Nancy,
Thats useful to know, I'm trying to avoid patching core (I guess we all are).
Drew