I'm using drupal for facilitating interaction between students and faculty at a school. I'd like the students be able to submit a piece of content that is viewable by a faculty access group and themselves. The module comes really close, except the user cannot select a group they aren't a member of.

I'd be willing to submit a patch to accomplish this (and backport to 4.7), but could fork this into another module. Which would you prefer?

I was thinking of just a "setting" to control whether all groups are displayed or only the groups a user is a member of.

CommentFileSizeAuthor
#1 simple_access.module.patch7.66 KBmetzlerd

Comments

metzlerd’s picture

Version: master » 4.7.x-1.x-dev
Assigned: Unassigned » metzlerd
Status: Active » Needs review
StatusFileSize
new7.66 KB

Here's a patch that accomplishes this fix. I intentionally based this patch on 4.7 because there seems to be a lot of uncertainty about how 5.0 will handle node access. I thought about doing this as a contrib module, but you really need to display all groups in simple access in order for this mod to be of any value.

dww’s picture

Version: 4.7.x-1.x-dev » master
Status: Needs review » Fixed

this feature made it into HEAD (for 5.x) with the patch for http://drupal.org/node/93577.

i don't know if gordon is planning to maintain a 4.7.x-2.* series for new features, but i kind of doubt it. metzlerd, feel free to set this to "need porting" and provide a patch if you're so inclined, but i wouldn't be in favor of adding it to the 4.7.x-1.* series.

thanks,
-derek

metzlerd’s picture

Agreed, and unless someone else needs it, I already have a 4.7 version in my production site, so I don't need gordon to do any more work. I'm just happy to see it get into HEAD :).

Oh and dww, by the way, thanks for jumping in and helping with the port.

Anonymous’s picture

Status: Fixed » Closed (fixed)