I looked at the php code, and found something in the "SetAggregatePermissions()" function of the "lib/classes/class.admintheme.inc.php" file:
Code: Select all
$this->perms['extensionsPerms'] = $this->perms['codeBlockPerms'] |
$this->perms['modulePerms'] |
(isset($this->sectionCount['extensions']) && $this->sectionCount['extensions'] > 0);
I can of course make an ugly hack to this code to "fix" this, but I do not understand the overall implications. Why is it that if sectionCount is greater than 0 that the block is shown anyway? Perhaps the problem is that the "Tags", "Events", and "Search" extensions don't have their own permission settings -- so if somehow permission settings for these extensions were added to the admin panel (so I could check or uncheck them), then the code would do as I like?
Any guidance on this issue would be greatly appreciated. Thanks alot!
-Jordan Lev
Portland, Oregon, USA