In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000736 [In-Portal CMS] Permissions feature request N/A 2010-05-18 07:42 2010-07-22 15:06
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000736: New "debug" event permission
Description All events, that are executed based on user form submit are checked against permission, that allows to execute them. Mapping between events and their permissions is defined in "mapPermissions" method of event handler, that holds event implementation.

Recently I came across need to make several events to be allowed for execution not based on user group-based permission, but simply when debug mode is on.

To use it you need to use "debug" keyword in permission mapping instead "add"/"edit" etc. e.g.:

function mapPermissions()

    $permissions = Array (
        'OnMassDelete' => Array ('self' => 'debug'),

    $this->permMapping = array_merge($this->permMapping, $permissions);
Additional Information

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker