-
-
Notifications
You must be signed in to change notification settings - Fork 235
Open
Description
As this is not working in Neos 9.0, we had to remove it during upmerges partially. This need to get reimplemented for Neos 9.0.
Orignal PR: #5182
Code which need repacement:
neos-development-collection/Neos.Media.Browser/Classes/Controller/UsageController.php
Lines 198 to 213 in 255366d
| /* | |
| TODO: Needs to get re-implemented for Neos 9. | |
| See: https://github.com/neos/neos-development-collection/pull/5182 | |
| $currentAccount = $this->securityContext->getAccount(); | |
| if ($currentAccount != null && $this->privilegeManager->isPrivilegeTargetGranted('Neos.Media.Browser:WorkspaceName')) { | |
| if ($workspace->isPrivateWorkspace()) { | |
| $owner = $workspace->getOwner(); | |
| return '(' . $owner->getLabel() . ')'; | |
| } else { | |
| return '(' . $workspace->getTitle() . ')'; | |
| } | |
| } | |
| */ | |
Merge commit: 255366d
/cc @habuchholz @Jan3k3y