Currently on localize.d.o...

As an anonymous or authenticated-non-team-member user I can see a
leaderboard of users who submit translations. I cannot see
* who the moderators are
* who the node-author admin is
* who the non-node-author admins are

If I login and join a team I can see
* the node-author admin

As a team member I still *cannot* see
* who the moderators are
* non-node-author admins (i.e. OG admins)

I propose
1. That we hide the node-author admin - this user is not more special in their abilities than other OG admins. See http://drupalcode.org/project/groupsdrupalorg.git/blob/refs/heads/6.x-1.... for the 3 lines of code necessary to do that.
2. A block of "Group admins" that is visible to all users - see http://groups.drupal.org/admin/build/views/edit/og_members#views-tab-blo... for the views configuration necessary
3. A block of "Group moderators" that is visible to all users - this may require custom code, I don't know how "moderators" are maintained in the DB and whether it is exposed to Views.

I'd be willing to mentor someone in writing the patch for #1 and #3 (adding Newbie tag). I'd be willing to build item 2 if someone grants me access to views.

CommentFileSizeAuthor
Selection_2163.png52.02 KBgreggles

Comments

gábor hojtsy’s picture

I'm happy to grant you l.d.o admin access if you can give me your l.d.o user URL :) Thanks.

greggles’s picture

gábor hojtsy’s picture

Granted, thanks for volunteering :)

greggles’s picture

Great, I cloned the original OG view, tweaked it to match g.d.o - it's at http://localize.drupal.org/admin/build/views/edit/og_members_ldo

I enabled the block and it seems to be working. 1 down, 2 to go :)

Is the code for ldo in a public repository somewhere so people can work on the patches for #1 and #3?

zirvap’s picture

Very useful info to have, thanks!
But can you hide the block on all http://localize.drupal.org/translate/languages/*/translate* pages? The translation work area is uncomfortably narrow when there's a sidebar there.

greggles’s picture

Thanks zirvap - I tried to do this, did it work? If not, can you give a link to one specific example of that page where I can test?

Thanks.

gábor hojtsy’s picture

@greggles: I think you can achieve #3 with a view as well possibly. Have not checked, but we use og_user_roles here (http://drupal.org/project/og_user_roles), and it is possibly exposed to views. These are the roles we have (now that you are an admin can freely check): https://skitch.com/gabor.hojtsy/fpkeh/member-roles-for-hungarian-team-lo...

Basically that someone is an OG admin does not necessarily mean they have the "translation community member" role in the group, but this association is a default. The community and self-moderator roles are handed out manually in the group, and the team member role is again automatically granted when you join usually (can depend on group setup, but 98% to 100% should work like that).

So your current block listing og admins is not neccessarily 100% the list of people who can grant to others, because that is governed by og_user_roles, but teams usually keep this in sync I think.

zirvap’s picture

@greggles: Looks good now :-)

gábor hojtsy’s picture

Project: Drupal.org infrastructure » localize.drupal.org
Component: localize.drupal.org » User interface

Moving to new queue (sorry for issue-bombing).

sutharsan’s picture

Any activity on this? Can I help? I would love to have a list of group members with a Community moderator role (#3 in the issue summary). Then we can point (new) translators to them to moderate their translations. The pool of to-be-moderated translations is too big and I'm looking for ways to mitigate this problem.

gábor hojtsy’s picture

I agree this would be great to solve, and I still believe this should be possible with a view based on OG data. Depending on how long it takes to finish the site upgrade, this might be better postponed on that (Drupal 8 og uses wholy different ways to maintain user permissions). See #1424984: Port localize.drupal.org to Drupal 7.