Fixed
Details
Priority
MinorAssignee
AlexAlexReporter
AlexAlexPatch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
449External issue URL
Fix versions
Affects versions
Details
Details
Priority
Assignee
Alex
AlexReporter
Alex
AlexPatch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
449
External issue URL
Fix versions
Affects versions
Created December 16, 2009 at 5:35 PM
Updated December 29, 2024 at 9:23 PM
Resolved January 12, 2010 at 4:01 AM
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.