Unclear if you can add two routes to 1 permission

Created on 28 March 2024, 9 months ago

Hi,

Thx for the good work. We would like to set 1 permissions to create access two two routes.

I can now solved it by creating two custom settings and then tick both boxes in de roles/permissions but i prefer to have this together.
I tried to add it by comma, spaces but none is working. Also I looked into you module code but I think it is not possible.
Can you confirm this. If so you can change this to a feature request.

Example:

We would lik permission:
- Get access to fill in external forms custommodule.route1, custommodule.route2

Instead of
- Get access to fill in external forms step1 custommodule.route1
- Get access to fill in external forms step2 custommodule.route2

Of course we could program the custom request in our custommodule but we would like to reuse as much as other modules if possible.

💬 Support request
Status

Active

Version

2.1

Component

User interface

Created by

🇳🇱Netherlands myDrupal2014_846824658246

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

Comments & Activities

Production build 0.71.5 2024