Anonymous | Login | Signup for a new account | 2024-03-29 07:00 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Dependency Graph | [ View Issue ] [ Relation Graph ] [ Vertical ] | |||
|
||||
|
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. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |