Default role assignments by group content type

pdcarto - July 28, 2009 - 19:32
Project:OG User Roles
Version:6.x-4.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

I have a couple group content types that need to have different standard administrator privileges. In the assignable roles form (/admin/og/og_user_roles), each group content type is considered separately so it is possible to assign the administrator's role(s) as required for each group, but it must be done manually, one group at a time.
In the default role assignments part of the form, group content types are not distinguished, so it is not possible to have different user roles automatically assigned to group administrators based on the type of group.

So I'd like to propose that the default role assignment fieldset be split in the same way that the assignable roles fieldset is.

#1

pdcarto - July 29, 2009 - 12:20
Status:active» needs review

The attached patches are working for me.

The default role assignments fieldset includes options for admin and member for each group content type.

Caveats:
- There may be caveats I haven't thought of...
- I think this change makes sense, but others need to weigh in on that
- Testing is needed!!
- I haven't modified the .install file - it should be synchronized with these changes as well before rolling a release

AttachmentSize
og_user_roles.module_085.patch 1.7 KB
og_user_roles.pages_.inc_085.patch 1.77 KB

#2

sun - July 31, 2009 - 03:42
Status:needs review» duplicate

Thanks for taking the time to report this issue.

However, marking as duplicate of #519794: allow group admins define default role for new members.
You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.

 
 

Drupal is a registered trademark of Dries Buytaert.