Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm trying to prevent authenticated users to create new groups. The idea is that only the site owner can create groups and user can join those.
I disabled the permission for authenticated users to create groups, witch works, BUT the dropdown menu still shows the create a new group link.
And more general how should one go about in modifying this dropdown menu?
Thanks for the great distribution!
Comments
Comment #3
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and for Open Social commentedHi Selfirian,
It's all part of
/profiles/contrib/social/modules/social_features/social_user/src/Plugin/Block/AccountHeaderBlock.php
Which you can create your own instance of :)
But in your specific case we have a PR opened here:
https://patch-diff.githubusercontent.com/raw/goalgorilla/open_social/pul...
This should solve it by checking if the user has access to actually see this.
Comment #4
jaapjan CreditAttribution: jaapjan at Open Social commentedI've merged this pull request: https://github.com/goalgorilla/open_social/pull/367 so it will most likely land in the next release!