Problem/Motivation
Group Authorization doesn't support the recommended versions of Group module, 2.0 and 3.0, blocking updating of Group module.
Steps to reproduce
Changing my composer.lock dependency to group 2.0, I was able to update to Group 2.0 to see how Group Authorization would fare, and got this error on the Group Authorization UI page:
Error: Call to undefined method Drupal\group\Entity\GroupRole::isInternal() in Drupal\authorization_group\Plugin\authorization\consumer\GroupConsumer->buildRowForm() (line 65 of modules/contrib/authorization_group/src/Plugin/authorization/Consumer/GroupConsumer.php).
Proposed resolution
Group Authorization needs a 2.0.0 version compatible with Group 2.0/3.0
Remaining tasks
User interface changes
API changes
Group API changes are documented here:
https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib...
Data model changes
In the Group 2.0 release notes, roles have been completely reworked:
https://www.drupal.org/project/group/releases/2.0.0v
Issue fork authorization_group-3396972
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bluegeek9 commentedComment #6
bluegeek9 commentedI thought it might be able to be done in a single version, but it looks like a 2.0.x branch needs to created for Group 2/3 support.
Comment #7
bluegeek9 commentedComment #11
karlsheaGot 2.x at least installable with composer with Group 2.x or 3.x
Comment #15
bluegeek9 commentedTo get the form working with Group 2/3 replace
with
Comment #16
karlsheaI hate gitlab so much.
This:
Not this?
Comment #17
karlsheaWhen I tried
!$role->getGlobalRoleId()it's not populating any roles, where!$role->isOutsider()is listing non-global roles.Comment #19
karlsheaWe might need a new issue to fix the issue fork
Comment #20
karlsheaClosing in lieu of #3396972 so issue fork points to 2.0.x
Comment #21
bluegeek9 commented