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
If metadata of an asset that is used in another workspace the current user has no access to is changed the following error occurs: Read access denied for workspace "....": User is no Neos Administrator and has no explicit role for workspace "admin-user"
This is caused by the method Neos\Neos\Fusion\Cache\AssetChangeHandlerForCacheFlushing::registerAssetChange() that tries to flush all workspaces identified by \Neos\Neos\AssetUsage\GlobalAssetUsageService::findByFilter() but some of those may not be accessible to the current user.
Expected Behavior
A user should be able to change Asset Metadata even if this asset was used by others.
Steps To Reproduce
Create user editorA
Login
Insert an image
Create user editorB
Login
Use Media module to assign a title to the image used in step 2 > DANG
Environment
- Flow: 9.0
- Neos: 9.0 (~beta 17)
- PHP: 8.3
Anything else?
The method that causes the exception is $contentRepository->getContentGraph($workspaceName) that is called in AssetChangeHandlerForCacheFlushing::line,50 ... did not find an obvious way around that.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
If metadata of an asset that is used in another workspace the current user has no access to is changed the following error occurs:
Read access denied for workspace "....": User is no Neos Administrator and has no explicit role for workspace "admin-user"
This is caused by the method
Neos\Neos\Fusion\Cache\AssetChangeHandlerForCacheFlushing::registerAssetChange()
that tries to flush all workspaces identified by\Neos\Neos\AssetUsage\GlobalAssetUsageService::findByFilter()
but some of those may not be accessible to the current user.Expected Behavior
A user should be able to change Asset Metadata even if this asset was used by others.
Steps To Reproduce
editorA
editorB
Environment
Anything else?
The method that causes the exception is
$contentRepository->getContentGraph($workspaceName)
that is called inAssetChangeHandlerForCacheFlushing::line,50
... did not find an obvious way around that.The text was updated successfully, but these errors were encountered: