plone / plone.app.querystring

Provides an queryparser, querybuilder and extra helper tools, to parse stored queries to actual results, used in new style Plone collections
https://pypi.org/project/plone.app.querystring/
2 stars 26 forks source link

The currentUser operation uses username where it should use userid #135

Closed davisagli closed 11 months ago

davisagli commented 11 months ago

The plone.app.querystring.operation.string.currentUser operation queries for the current user's username, but the values in the index are user ids (https://github.com/plone/plone.dexterity/blob/master/plone/dexterity/content.py#L438). As a result, if the current user's username is different from their user id, then the content they created is not found.