Jump to content

[solved] How to limit access to a Process Setup page and still make the module accessible on the frontend?


Recommended Posts

Posted (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 by psy
solved
  • psy changed the title to [solved] How to limit access to a Process Setup page and still make the module accessible on the frontend?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...