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!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000449 [In-Portal CMS] Permissions bug report always 2009-12-16 11:35 2010-01-11 22:01
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000449: Category Permission Cache is calculated incorrectly on PHP5
Description Noticed that allow/deny category permissions are used for categories,
then they are incorrectly inherited (at least CATEGORY.VIEW permission). To
inherit permission kPermCacheUpdater class assigns permission object without
reference to copy it. This approach works in PHP4, because "=" is used
instead of "=&". PHP5 always passes objects by reference even if "=&"
operator is not used. This way we got random inheritance logic.

To solve this in PHP5 "clone" operator is used, but since this should work
in PHP4 too, then serialize/unserialize is used.
Additional Information Tested on another project, but should be tasted on 5.0.2 as well.

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

Powered by Mantis Bugtracker