stevewithington/MuraFW1 — Issue #5: Admin Permissions Problems
Author: s992
Created: 2011-12-21 17:30:56+00:00
State: open

Hi Steve,

Having an issue with a non-S2 admin user attempting to access some plugins that I built in FW/1. When clicking on the plugin name in Mura's "Site Plugins" screen, it just redirects the user back to the Mura dashboard.

I tracked the redirect down to the `secureRequest()` method, and specifically the check for permissions:

`application.permUtility.getModulePerm(getBeanFactory('pluginConfig').getValue('moduleID'),session.siteid)`

The `getValue('moduleID')` is returning an empty string, causing the redirect to take place.

`` returns a struct with a single key(`moduleID`) and a single value(`[empty string]`).