How To Create Custom Permission For a Module

Created on 8 June 2020, almost 5 years ago
Updated 4 February 2025, 2 months ago

In my project, I'm using group module.

The user who creates the group must have the possibility only to "Add new members" and not to access existing users and then to "Add existing member".

In Group module, there is no route in the group.routing.yml file for "Add existing members" permissions, but I know the path.

How can I create this custom permission?

Thank you so much for your support.

💬 Support request
Status

Postponed: needs info

Version

2.0

Component

User interface

Created by

🇮🇹Italy kris77

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States Kristen Pol Santa Cruz, CA, USA

    I see this is quite old and didn't get any response.

    @Kris77 Do you still need help with this? I haven't used the configuration you mention so I don't have any advice without trying this myself.

    If you still need help, please reopen and provide explicit steps on how you have this set up, so someone can set up their local site in the same way.

    Thanks.

Production build 0.71.5 2024