You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then a user who is not logged in may read/modify/destroy/admin (change ACL on modify) an item in users namespace. But same user may not create an item in users namespace. Attempts to do so result in:
Item not found
Item 'xxx' does not exist.
Workaround is to change ACL for NAMESPACE_DEFAULT:
default='All:read,write,create',
The text was updated successfully, but these errors were encountered:
Thanks, the fix is working fine for the described issue.
There are some more parts in items/__init__.py to check (search for user.may), e.g. if you type '+modify/users/xxx' in your browser URL for a non-existent item. You will run into this check:
…inwiki#1705
use fqname not name when checking permission to modify an item
use fqname not name when redirecting after failing to obtain edit lock
use fqname.fullname not name when processing edit conflicts
use fqname not name when checking permission to update new item revision
use fqname.fullname not name on edit lock sql db
cleanup comments
If wikiconfig.py has ACL for NAMESPACE_USERS:
and ACL for NAMESPACE_DEFAULT:
then a user who is not logged in may read/modify/destroy/admin (change ACL on modify) an item in users namespace. But same user may not create an item in users namespace. Attempts to do so result in:
Item not found
Workaround is to change ACL for NAMESPACE_DEFAULT:
The text was updated successfully, but these errors were encountered: