[pmwiki-users] Disabling the History action (action=diff)

pmwiki at 911networks.com pmwiki at 911networks.com
Sat Apr 8 19:41:01 CDT 2006


Patrick R. Michaud wrote:

> On Sat, Apr 08, 2006 at 12:15:57AM -0400, Dillama wrote:
>> How would I be able to disable the History action (?action=diff)? I
>> don't just want it off the menu, but that function not available at all
>> (even typed into URL).
> 
> Add the following to your local/config.php:
> 
>     if ($action == 'diff') $action='browse';
> 

Now that's interesting, would it be possible to do the same thing 
based on groups.

if (@users == 'editors' and $action =='edit') $action='edit'

so that only people signed on as editors can do the edits?


-- 
Thanks
http://www.911networks.com
When the network has to work




More information about the pmwiki-users mailing list