psy Posted August 14, 2025 Posted August 14, 2025 (edited) I'm creating a module that has a configurable module (Admin->Modules) that installs a Process module page (Admin->Setup->My Module). Calling the configurable module from the frontend refers to the Process module page for data. I'd like to make the Admin->Setup->My Module page managed by module-specific permissions when logged-in to admin. All works while I'm logged in as Superuser but crashes with Error: Exception: You do not have permission to execute this module - ProcessMyModule when a frontend guest. Fairly confident it's in the mymodule.info.php permissions array. Just can't seem to nail it. Help appreciated. Solution: I created a role without any permissions. On the admin page I only allowed superusers or users with the specified role to view certain sections. Edited August 18, 2025 by psy solved
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now