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 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 2007-03-20 20:41:02
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
- do this...
Example
Component selection
- general
Details
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
Discussion
Plan
- Priority:
- Assigned to:
- Status: fixed for 1.6 changeset 2044:63b0909ec3b5