Skip to content

Reimplement "Show workspace owner/title in asset usage" for Neos 9.0 #5437

@dlubitz

Description

@dlubitz

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:

/*
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions