TitleEditPermission walks from LeftMenu to Main
Date04-Mar-2005 23:08:16 EET
Version2.1.155
SubmitterStephanSchiessling
Bug criticalityBadBug
Browser versionFirefox 1.0
Bug statusClosedBug
PageProvider usedVersioningFileProvider
Servlet ContainerTomcat 5.5.7
Operating SystemWindows XP
URLMain
Java version1.5.0

Let LeftMenu and Main have no ACLs set. Then edit LeftMenu and add [{DENY edit Guest}] After that, Guest cannot edit LeftMenu, which is good. Then return to Main, and observe, that Main cannot be edited by Guest, too! This is not what is expected. Debugging shows, that because LeftMenu is included in ViewTemplate.jsp, the NEG EditPermission is not only added to the LeftMenu WikiPage, but also to the Main WikiPage. I think Main should be editable, even if LeftMenu is not editable. (If I remove the ACL from LeftMenu as administrator, I can again edit LeftMenu as guest, but the ACL stays in Main, so guest still cannot edit it. But anyhow, the acl should not be added to Main, then the second problem does not occur.)


The authentication system is deprecated and will be replaced with something sane in a later version. Please use at your own risk - no bugs will be fixed. Please see AuthorizationAndAuthenticationDevelopment for more information.

-- yanwp@163.com

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-5) was last changed on 24-Jan-2007 07:44 by 159.226.26.33