Skip to content

IONOS(files-sharing): show "pending shares" menu item only if feature enabled#174

Merged
tanyaka merged 2 commits intoionos-devfrom
mk/dev/disable_pending_shares_if_unused
Jun 3, 2025
Merged

IONOS(files-sharing): show "pending shares" menu item only if feature enabled#174
tanyaka merged 2 commits intoionos-devfrom
mk/dev/disable_pending_shares_if_unused

Conversation

@printminion-co
Copy link

@printminion-co printminion-co commented May 20, 2025

"pending shares" menu item is removed on

./occ config:system:set --value true --type boolean -- sharing.enable_share_accept

"pending shares" menu item is shown on

./occ config:system:set --value false --type boolean -- sharing.enable_share_accept

run test via

 phpunit --bootstrap tests/bootstrap.php apps/files_sharing/tests/Listener/LoadAdditionalListenerTest.php

TODO

Checklist

Copy link

@tanyaka tanyaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, we should not change the logic pending shareds are desabled by default, but add a new logic disabling the pending shares.

@printminion-co printminion-co force-pushed the mk/dev/disable_pending_shares_if_unused branch from 72894b6 to 5b71aeb Compare May 22, 2025 08:28
@tanyaka
Copy link

tanyaka commented May 22, 2025

@printminion-co printminion-co changed the title IONOS(files-sharing): show pending menu only if feature enabled IONOS(files-sharing): show "pending shares" menu item only if feature enabled May 22, 2025
@printminion-co printminion-co force-pushed the mk/dev/disable_pending_shares_if_unused branch 5 times, most recently from 5df7564 to 40c6bdd Compare May 26, 2025 11:22
@tanyaka tanyaka force-pushed the mk/dev/disable_pending_shares_if_unused branch from 40c6bdd to 5acb610 Compare June 2, 2025 08:50
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
# menu is removed on
./occ config:system:set --value true --type boolean  -- sharing.enable_share_accept

# menu is shown on
./occ config:system:set --value false --type boolean  -- sharing.enable_share_accept

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
@tanyaka tanyaka force-pushed the mk/dev/disable_pending_shares_if_unused branch from 5acb610 to f115df3 Compare June 2, 2025 10:46
@tanyaka tanyaka merged commit cb78926 into ionos-dev Jun 3, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants