Issue #3504114: If edit own content is added, then the cache context user is used, if edit any permissions then only user.permission is added
Closes #3504114