here is the change record for group module: https://www.drupal.org/node/3061215

Comments

SocialNicheGuru created an issue. See original summary.

a.dmitriiev’s picture

Thank you for the report. I will try to check this issue asap.

a.dmitriiev’s picture

I just tried group rc3 with the latest version of groupmedia and it works fine. I will continue researching. Have you noticed any problems? Could you please report them here?

a.dmitriiev’s picture

ok, I found the usage of group_membership.roles.permissions in the view of the media overview. Will change it to the one that Group maintainer suggests

  • a.dmitriiev committed 53cb1a7 on 8.x-2.x
    Issue #3061861: group_permissions has changed in group rc3 and will...
socialnicheguru’s picture

But please check the version of the group module used.
After rc3 it is one way and before that it is another.

a.dmitriiev’s picture

Sure ;) that was only the first commit, I will also add the update for views config to change the cache context while upgrade from alpha3 to a new version today.

socialnicheguru’s picture

I also meant that there should be a way for those who are still using group versions less than rc3 to interact with your module. So a smart way to determine which version and the proper permissions would be nice.

a.dmitriiev’s picture

I just also found that the cache context in alpha3 is taken from group views access plugin. As it is changed in group it is automatically changed in the view itself. So apparently there is no need to run any updates, because the values from yaml file are also ignored when the view is inserted/updated. Also the clean install of groupmedia alpha3 worked with group rc3, because the view calculates the cache metadata on the fly with View::calculateCacheMetadata() method.

I think we should wait a bit with this change, because it has no influence at the module now. I did a clean install (with old context in yaml file of the view) and tried to export the view again and it already had the correct cache context because it was recalculated by the method above.

  • a.dmitriiev committed 8ca38de on 8.x-2.x
    Issue #3061861 by a.dmitriiev: group_permissions has changed in group...
a.dmitriiev’s picture

According to the related issue https://www.drupal.org/project/groupmedia/issues/3078864 I was wrong, so alpha4 has update path to recalculate the contexts of the view.

New version will be released in 5 minutes.

a.dmitriiev’s picture

Status: Active » Fixed

  • a.dmitriiev committed 5dff74e on 8.x-1.x
    Issue #3061861 by a.dmitriiev: group_permissions has changed in group...

Status: Fixed » Closed (fixed)

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