Anonymous | Login | Signup for a new account | 2023-09-29 06:03 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
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() { parent::mapPermissions(); $permissions = Array ( 'OnMassDelete' => Array ('self' => 'debug'), ); $this->permMapping = array_merge($this->permMapping, $permissions); } |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |