In-Portal Issue Tracker - In-Portal CMS
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | |||||
736 | [In-Portal CMS] Permissions | feature request | N/A | 2010-05-18 07:42 | 2010-07-22 15:06 | |||||
|
||||||||||
Reporter: | alex | Platform: | ||||||||
Assigned To: | alex | OS: | ||||||||
Priority: | normal | OS Version: | ||||||||
Status: | closed | Product Version: | 5.0.3 | |||||||
Product Build: | Resolution: | fixed | ||||||||
ETA: | none | Fixed in Version: | 5.1.0-B1 | |||||||
Reference: | http://groups.google.com/group/in-portal-dev/browse_thread/thread/e143608faa6f70c | |||||||||
Change Log Message: | ||||||||||
Estimate Points: | 0 | |||||||||
|
||||||||||
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); } |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: | ||||||||||
Relationships |
| |||||||||
Attached Files: |
debug_permission_name_for_events.patch (1,517) 2010-05-18 07:42 http://tracker.in-portal.org/file_download.php?file_id=553&type=bug |
|||||||||
|
||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2010-07-22 15:06 | alex | Note Added: 0002525 | ||||||||
2010-07-22 15:06 | alex | Status | resolved => closed | |||||||
2010-05-19 02:44 | alex | Note Added: 0002249 | ||||||||
2010-05-19 02:44 | alex | Status | reviewed and tested => resolved | |||||||
2010-05-19 02:44 | alex | Fixed in Version | => 5.1.0-B1 | |||||||
2010-05-19 02:44 | alex | Resolution | open => fixed | |||||||
2010-05-19 02:44 | alex | Assigned To | !COMMUNITY => alex | |||||||
2010-05-19 02:44 | alex | Changeset attached | 5.1.x r13584 | |||||||
2010-05-18 22:27 | Dmitry | Note Added: 0002241 | ||||||||
2010-05-18 22:27 | Dmitry | Status | needs testing => reviewed and tested | |||||||
2010-05-18 07:43 | alex | Assigned To | => !COMMUNITY | |||||||
2010-05-18 07:43 | alex | Developer | => alex | |||||||
2010-05-18 07:43 | alex | Status | active => needs testing | |||||||
2010-05-18 07:43 | alex | Reference | => http://groups.google.com/group/in-portal-dev/browse_thread/thread/e143608faa6f70c | |||||||
2010-05-18 07:42 | alex | Relationship added | related to 0000704 | |||||||
2010-05-18 07:42 | alex | New Issue | ||||||||
2010-05-18 07:42 | alex | File Added: debug_permission_name_for_events.patch |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|