After joining a group, the message "You are now a member of Western Frisian team." on top of the screen contradicts the status "Your membership request awaits approval." displayed in the right sidebar. At the moment of writing this, I am not sure which of these messages is telling the truth, or how the D6 site behaves in this case.

Detailed steps I took to get here:
- log in (I am already member of one group, Dutch; I have no special privileges or roles afaik)
- open the "Frisian, Western" group page https://localize-7.staging.devdrupal.org/translate/languages/fy
- click the "Join" button in the right sidebar
- see the conflicting messages (see screenshot)

Expected result: all messages / statuses reflect the current situation correctly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

opdavies’s picture

Gábor Hojtsy’s picture

I think due to #2349587: Revoke ability to customize per group roles/permissions entirely group member pre-moderation should not theoretically be possible, so not sure how that happens(?). I think you should be a member when you join without moderation regardless of group. The Western Frisian team did not even use to moderate members on live (See https://localize.drupal.org/og join link instead of request membership).

marcvangend’s picture

That's interesting. Just to be clear: on the test site I still cannot add/suggest/edit translations for Frisian, so the "Your membership request awaits approval" status must be true.

Gábor Hojtsy’s picture

Even more interesting ;D

opdavies’s picture

I noticed yesterday that the default OG permissions were set for "Subscribe to group" (which requires approval) for non-members, rather than "Subscribe to group (no approval required)".

I've changed this on the Localize staging site, and will look into how to set this in code as the default option in case we decide to rebuild staging again at a later date.

marcvangend’s picture

Issue summary: View changes
FileSize
66.48 KB

I checked again; this time I got the same message "You are now a member of Western Frisian team" and there was no status saying my membership is awaiting approval. However I am still not able to add or edit translations. Screenshot:

opdavies’s picture

You're a full member of the group now, so it's not that.

I'm not sure which permission allows you to add or edit translations. I know that there's one called "Browse translations". I'll check what's enabled.

marcvangend’s picture

Maybe it's good to mention that I can add and edit translations in the Dutch group, of which I already was a member. So it seems to me that it's not just a permissions problem, there must be group-specific settings involved I suppose.

Gábor Hojtsy’s picture

Yeah people who join a team should have permission to submit suggestions (the suggestions themselves pending approval). This is governed by "Submit suggestions" permission. That is granted to "Translation team member" role. I suspect that role is not assigned to members when they join a group? While we may solve this by merging the "Member" and "Translation team member" roles, it would be ideal to keep the possibility to "ban" someone from the group, which is doable now by assigning the passive member role or not assigning any role at all other than "member".

In other words, member does not really grant you anything ATM and the "Translation team member" role should be granted on joining teams (automatically).

  • opdavies committed c61fc2e on 7.x-1.x
    Issue #2512324: Automatically add role
    

opdavies’s picture

New group members now get the "Translation team member" role automatically when joining a group.

opdavies’s picture

Status: Active » Needs review
Gábor Hojtsy’s picture

@marcvangend: can you verify this works now? Thanks!

marcvangend’s picture

Status: Needs review » Reviewed & tested by the community

Yes, it works as expected! Thanks.

opdavies’s picture

Status: Reviewed & tested by the community » Fixed

@marcvangend: Great. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.