Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dlubitz opened this issue Jan 16, 2025 · 0 comments
Open

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

dlubitz opened this issue Jan 16, 2025 · 0 comments

Comments

@dlubitz
Copy link
Contributor

dlubitz commented Jan 16, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant