Viewing Issue Simple Details |
ID |
Category |
Type |
Reproducibility |
Date Submitted |
Last Update |
0000880 |
[In-Portal CMS] Front End |
bug report |
always |
2010-10-05 15:24 |
2010-11-30 12:48 |
|
Reporter |
phil |
View Status |
public |
|
Assigned To |
alex |
Priority |
normal |
Resolution |
fixed |
|
Status |
closed |
|
|
|
|
Summary |
0000880: Category-based permission check not working on Home Page |
Description |
Tags "m_CheckPermission" and "c_HasPermission" doesn't work, when used on home page (index.tpl template).
This happens, because current category is detected as "0" on that template, however it's 1 (ID of "Content"/"Home" category). In 4.x versions of In-Portal it indeed was 0. I supposed not all places were properly adapted to such ID change.
I propose, to set current category id ("m_cat_id" variable) to actual ID of "Content"/"Home" category, when it's equals to "0". |
Additional Information |
All places, that compare "m_cat_id" to "0" should be also checked and properly adapted. |