= Description = something strange with request.user.may.write(newpagename) in the following code for the following situation: * Create a user test * Create a page 'TestUserHasNoACLRights' with that line #acl test: * switch to user test * add the macro [[attachment:TestMayWrite.py|TestMayWrite]] on an other page * save that page This macro will copy the page TestUserHasNoACLRights to TestIfTestUserHasNoACLRights and then it fails in testing request.user.may.write('TestIfTestUserHasNoACLRights'). The output is: . we have copied to newpage TestIfTestUserHasNoACLRights . we check here if we are able to write to an acl protected page . Oops why we are here -- ReimarBauer <> If I test instead of newpagename on oldpagename then I have no write access. But both pages should be of the same behaviour. == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. do this... == Example == ##Add URL that show the bug, screenshot or test wiki markup that fail... ##URL: ##attachment:screenshot.png ##{{{ ##Example wiki markup that fail ##}}} == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * general == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## attachment:traceback.html ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''!MoinMoin Version''' || 1.6 1900:89fffad859b5 || || '''OS and Version''' || linux || || '''Python Version''' || 2.4.4 || || '''Server Setup''' || cgi-bin || || '''Server Details''' || || || '''Language you are using the wiki in''' (set in the browser/UserPreferences) || || == Workaround == ## How to deal with the bug until it is fixed = Discussion = = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: fixed for 1.6 changeset 2044:63b0909ec3b5 ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBugFixed