By tunesmith on
I guess I was surprised this wasn't obvious.
I'm creating "pages" for my drupal site, but want to allow other people to edit certain pages. Would love to say "ok, users A, B, and D (or group F) can now edit page X."
I don't want to give them "administer nodes" permissions.
Easily possible? Possibly easy? Taxonomy_access and tac_lite don't seem to apply because these are pages, not blogs/stories with taxonomy.
Would love if revision control of these pages would be enabled so these particular pages would be like wikis.
Comments
I have used the category module for this
I have used the category module along with cac_lite for this and it seems to work. Not particularly well, but it works nonetheless.
It essentially allows you to assign the equivalent of taxonomy terms (which I call categories) to certain pages. I then use cac_lite to establish a matching role (actually, two, see below). You then provide access to pages associated with a specific category to that role. You can define as many categories/role pairs as you like. There may be a practical limit (I think I recall seeing a bug if you go over 127 roles), but I don't think it is an issue in most circumstances.
You effectively need two roles per node type. One role has access but not edit capability, the other role has both access and edit capability. You promote only those you wish to edit to the role that has edit capability. You promote those who you wish to any access at all to the role that has access capability. The natural fallout from this setup is that users which are not promoted to either are excluded from even seeing the content. Hence, it is very easy (well, maybe a bit tedious) to set up private areas.
As a caveat, I have not investigated OrganicGroups, and it may be that this sort of thing can be accomplished easier with OG.
I'd love to find a simpler way to do this.
taxonomy
Pages can have taxonomy. I do this with taxonomy and taxonomy access.