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

BUG: media usage missing information about workspaces #5181

Open
1 task done
habuchholz opened this issue Jul 12, 2024 · 0 comments
Open
1 task done

BUG: media usage missing information about workspaces #5181

habuchholz opened this issue Jul 12, 2024 · 0 comments
Labels

Comments

@habuchholz
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the media usage tab of an image you can see which workspaces are using that picture, but you can't see the name of the person owning that workspace. This prevents the possibility to delete a picture, if a user uses that image in his personal workspace and you can't find out who that person is.

This can potentialy cause data compliant issues, if the image has to be taken down because of copyright problems but one user is still using it in his personal workspace.

Expected Behavior

Possibility to enable showing all workspace titles/owners to user with certain roles in the media usage tab.

Steps To Reproduce

Check image usage of an image that is used in another personal workspace in the media usage tab.

Environment

- Flow: 8.3.8
- Neos: 8.3.12
- PHP: 8.1.27

Anything else?

No response

@habuchholz habuchholz added the Bug label Jul 12, 2024
habuchholz added a commit to queoGmbH/neos-development-collection that referenced this issue Jul 12, 2024
- configurable privilege roles

Issue: neos#5181
habuchholz added a commit to queoGmbH/neos-development-collection that referenced this issue Jul 12, 2024
- configurable privilege roles

Issue: neos#5181
habuchholz added a commit to queoGmbH/neos-development-collection that referenced this issue Jul 25, 2024
- new role `Neos.Media.Browser:WorkspaceName`
- add new role to `Neos.Neos:Administrator` as parent role
- enable showing the workspace owner by default
- adjust UsageController.php to check if current user role matches the new role

Issue: neos#5181
habuchholz added a commit to queoGmbH/neos-development-collection that referenced this issue Jul 26, 2024
- remove unused variable `$policyService` and import in UsageController.php and fix formatting
- correct commentary in Settings.yaml

Issue: neos#5181
habuchholz added a commit to queoGmbH/neos-development-collection that referenced this issue Jul 26, 2024
…ame` instead of the role

- introduce new privilege target `Neos.Media.Browser:WorkspaceName`, grant privilege to `Neos.Neos:Administrator` and remove obsolet abstract role `Neos.Media.Browser:WorkspaceName`
- remove unnecessary parent role from `Neos.Neos:Administrator`
- remove config in Settings.yaml
- adjust UsageController.php to work with new privilege target

Issue: neos#5181
habuchholz added a commit to queoGmbH/neos-development-collection that referenced this issue Jul 29, 2024
- UsageController.php: introduce new method to return `label` for workspace title based on privilege target and workspace type
- RelatedNodes.html: use new `label` for rendering

Issue: neos#5181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant