Closed (won't fix)
Project:
Organic Groups
Version:
master
Component:
og.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
11 Jul 2007 at 04:52 UTC
Updated:
8 May 2011 at 08:41 UTC
I'm working on a site where OG home pages function as wikis and are editable by all group members. However, I don't want every group member to be able to e-mail all group members (using OG's E-mail tab), and the access check for the menu callback that defines the tab is node_access('update', $node).
I propose that we add a permission to go: 'email all members of a group' and check for both permissions as the access check. This patch against the dev version implements this.
| Comment | File | Size | Author |
|---|---|---|---|
| og_email_members_perm.patch | 946 bytes | ezra-g |
Comments
Comment #1
moshe weitzman commentedi'm not too comfortable with this. i would rather give some pref to each group so that they can name an alternate page as their group home page. in this case, create a wiki node and make that the home page. just thinking aloud. this is how core handles its custom home page and 403/404 error pages.
Comment #2
Christefano-oldaccount commentedI think ezra-g's approach makes more sense. If a group home page is a wiki node, then it still has an "Email" tab. If a group home page is something else like a group node, however, and group members are simply told that the wiki node is their group home page, then all the links that point to their group (breadcrumbs, groups listing on user profile, etc.) will eventually lead them to the "Email" tab.
Comment #3
cindyr commentedI would really love to have this ability to define which roles can email to the group. I have a closed community where the siteadmin is the owner of all the groups, I don't want the layman "owner" (the person who manages the content for that group) to have full admin privileges to change their group, I only want them to have the email tab.
I tried out the patch and it adds the email as a new permission in the access control table, but doesn't seem to actually work. Can someone point me in the right direction to making it function?
Thanks,
~cindyr
Comment #4
mightyiam commentedI like ezra-g's idea.
Comment #5
cindyr commentedSorry, my bad. It works just fine, it just wasn't the way I wanted it to. I had to take a break from it, get some sleep. Went back and read it through again and figured out what all you wrote meant. I want those who do NOT have access to edit the group to have the ability to email, so I changed to have it check for only the email part.
Comment #6
shmatty29 commentedI also require the email tab to have assigned control.
How and where would I load the attached patch.
Thank, Matt
Comment #7
shmatty29 commentedHi I have added the patch and the permission appears in the access control area.
I have ticked the box in access control to allow the appropriate role (Group Manager). The group manager can see the email tab, but I am still getting access denied when clicking the tab logged in as group manager.
Any ideas
Matt
Comment #8
shmatty29 commentedI went over it again, and it is working fine, My bad.
Many thanks,
Matt
Comment #9
ezra-g commentedThis issue is not closed.
Comment #10
ezra-g commentedThis issue is not closed.
Comment #11
aschiwi commentedCan this patch be released for 5.x-7.3? I am also looking to remove the "email" tab. Actually I don't need it at all, but I can't seem to find another way to remove it...
Thanks
Anja
Comment #12
Grayside commentedD5 no longer supported. There are now multiple techniques for doing this in OG6/7.