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

WorkspaceManagers can manage ACL of all groupfolders #3

Open
StCyr opened this issue May 13, 2022 · 0 comments
Open

WorkspaceManagers can manage ACL of all groupfolders #3

StCyr opened this issue May 13, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@StCyr
Copy link
Collaborator

StCyr commented May 13, 2022

When WorkspaceManagers are assigned delegated admin rights to the groupfolders app, they can manage the ACL of all groupfolders from the file app:

image

This shouldn't be the case: they should only be able to manage the ACL of the groupfolders for which they are GE

@StCyr StCyr added the bug Something isn't working label May 13, 2022
@StCyr StCyr self-assigned this May 13, 2022
zak39 pushed a commit that referenced this issue Jun 19, 2024
The interfaces were changed on current master (upcoming Nextcloud 28),
so the event dispatcher for the User class should be the interface from OCP
instead of directly use the Symfony dispatcher.

Fixes:
> TypeError: OC\User\User::__construct(): Argument #3 ($dispatcher) must be of type OCP\EventDispatcher\IEventDispatcher, OC\EventDispatcher\SymfonyAdapter given, called in /var/www/html/custom_apps/groupfolders/lib/Versions/GroupVersionsExpireManager.php on line 69 and defined in /var/www/html/lib/private/User/User.php:105

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant