Publish a workspace version
Imagine a backend user which has edit access only to some pages in the pagetree in live and custom workspace. The user logs in, got into the live workspace, change to the custom workspace and edit a page. Now he wants to publish the changes. He clicks on the "publish" button of the page in workspace manager and gets the error message:
"[newlog()] You cannot publish a record you do not have edit and show permissions for"
This is because the index for the cache is depends only on the user id. If you extend it to depend also on the workspace id, everything works fine :-)
This behaviour was seen on TYPO3 4.3.1 with be_acl 1.4.0 and 1.4.1-svn.