Download & Extend

Default role assignments by group content type

Project:OG User Roles
Version:6.x-4.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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.

Comments

#1

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

Status:needs review» closed (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.