Hello,

I've been using your module, and it's great. But I have a problem. I don't know who to give "configure member roles" permission to every group admin. The only way I've found to work is giving them site-wide permission, which gives them rights to modify roles in every grup they join. And I don't want that.

I've also tried to create a "group_creator" role with "configure member roles" as only permission, and to use site administrator to assign that user the "group_creator" role (just for its group). But it's not working either.

So my question is: What are the settings for every group admin to get "configure member roles" just in her own group?

Thanks in advance,

m0d

Comments

m0d’s picture

What I'm trying to explain (sorry, my English is pretty bad) is that "configure member roles" seems to work right when used in a site-wide way, but not when applied to a single group. Is it possible?

I took some screenshot, but I didn't find them relevant. I can attach them, If you want me to.

somebodysysop’s picture

You need to explain a bit more.

What I can tell you is that if you assign a "group role" ("group role" defined as a role assigned using the OGUR "Configure member roles" tab) to a user in a group, and that role contains the "Configure member roles" permission, then the user with that role in that group will see the "Configure member roles" tab, and be able to assign group roles to other users in his group. Does this answer your question?

m0d’s picture

Thanks for your help. That's what I'm doing. I got:

- group_admin role: contains the "Configure member roles"
- user creator_of_group_1: has created the group 1, and she has automatically the group_admin role (thanks to the default assignation of roles to group creators). I can be sure because I can see it logging as site admin.

But, when I log as creator_of_group_1 and enter in "members" section, creator_of_group_1 can't see the "Configure member roles" tab. But if I give her that role using User Edit (user/2/edit - site-wide permission), she will see it. In that group, and every other group she'll join. And I don't want that. I'm trying it in a test site, using only the modules needed to get OGUR running, plus devel and admin_menu.

I'll attach you some screenshots. As you will see, admin can see that tab. And it can be checked that So it exists.

Thanks for your help, you are very kind!

m0d

somebodysysop’s picture

See OGUR project page: http://drupal.org/project/og_user_roles

If your basic "OG Roles aren't working", please note the following:
It appears that the Drupal caching mechanism is used much more stringently as a result of either 5.7 core or OG 5.x-7.x changes. Assuming OGUR has been installed correctly, this may result in group roles you've assigned to group users not being respected when they should (i.e., when they are in group context). In this case, the solution is to implement the "Clear the Cache" setting in OGR: http://drupal.org/node/263944.

m0d’s picture

It works like a charm! Thank you! Thank you! Thank you!

m0d’s picture

Status: Active » Closed (fixed)

I guess I should close this :D