Skip to content

Commit

Permalink
add minor comment when reviewing
Browse files Browse the repository at this point in the history
  • Loading branch information
skurfuerst authored Oct 23, 2024
1 parent 1d034a8 commit bbeb8df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Neos.Media.Browser/Configuration/Policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ privilegeTargets:
label: Allowed to replace asset resources
matcher: 'method(Neos\Media\Browser\Controller\(Asset|Image)Controller->(replaceAssetResource|updateAssetResource)Action())'

# We evaluate the WorkspaceName privilegeTarget in code (UsageController) to determine whether we should show workspace names or not.
# To control access to the module in general, Neos.Media.Browser:AssetUsage is used (so that's why they have the same matcher string).
'Neos.Media.Browser:WorkspaceName':
label: Allowed to see workspace owner
matcher: 'method(Neos\Media\Browser\Controller\UsageController->relatedNodesAction())'
Expand Down

0 comments on commit bbeb8df

Please sign in to comment.