Redirect Plugin?

13 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: April 25, 2012   (RSS)

By nmsinc - April 24, 2012

Hi Dave,

I'm not sure your suggestion will work with this situation as the URL that is sent is one to edit the file within CMS - see below:

<a href="/cmsAdmin/admin.php?menu=claims_submission&action=edit&num=<?php echo $record['num'] ?>"<a/>

Is their another means to get the user to this file other then the [num] field?

Thanks - nmsinc
nmsinc

Re: [nmsinc] Redirect Plugin?

By Dave - April 25, 2012

Hi nmsinc,

Yea, it might be tricky to solve the problem without rewriting everything or creating some custom code.

One solution might be to write a plugin that is called when the "edit" page is displayed and have that plugin check all the security and return an error if the users shouldn't be "allowed" to edit that record. Basically the plugin would "Deny edit access to unauthorized users".

You'd need a list of the rules for who can edit what for that, but that might be the best solution.
Dave Edis - Senior Developer
interactivetools.com

By nmsinc - April 25, 2012

I like that idea Dave,

Thanks - nmsinc
nmsinc