Group roles, permissions and relationships should be set up on installation

We run a comprehensive Drupal-based learning site that takes a book-first approach to learning and teaching — markedly different to the conventional LMS model. Our goal is to overlay Drupal LMS as a formal assessment layer on top of our existing content, rather than replace it. This means integration into an existing site is not optional for us — starting from a quickstart repository is simply not viable.

We installed the LMS module suite into our existing site but, as a result, none of the basic group roles, permissions, or relationships were configured, which meant that several fundamental things appeared broken — including being unable to edit a course immediately after creating it.

The documentation does cover manual setup, but it assumes a level of familiarity with the Group module that many site builders will not have. In my case it required a fair amount of informed guesswork and a solid understanding of how Group 3.x works natively before I could get things functioning as expected.

The module's stated strength over turnkey solutions like Opigno is that it can be integrated into existing Drupal sites. For that to hold true in practice, the basic group roles, permissions, and relationships should be created automatically on installation, with sensible defaults — as most other contributed modules do.

Would it be feasible to add a hook or recipe that sets these up on install, at least as a starting point that site builders can then adjust?

Comments

sirclickalot created an issue.