Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Jun 13, 2025

Excluded groups should not see the create link share option in UI?

Before (link share prevented for user) After (link share prevented for user)
allow-link-shares prevent-link-shares

@nfebe nfebe force-pushed the feature/hide-external-shares-excluded-groups branch 2 times, most recently from 137152b to 1e8112c Compare June 17, 2025 09:06
@nfebe
Copy link
Contributor Author

nfebe commented Jun 17, 2025

Should this apply to emails as well?

@marcoambrosini @artonge

@nfebe nfebe marked this pull request as ready for review June 17, 2025 09:07
@nfebe nfebe requested review from a team as code owners June 17, 2025 09:07
@nfebe nfebe requested review from artonge, marcoambrosini, skjnldsv, sorbaugh and susnux and removed request for a team, artonge and skjnldsv June 17, 2025 09:07
@nfebe nfebe force-pushed the feature/hide-external-shares-excluded-groups branch 2 times, most recently from cccdaf9 to 37b7486 Compare June 17, 2025 09:10
@AndyScherzinger AndyScherzinger added design Design, UI, UX, etc. 3. to review Waiting for reviews labels Jun 17, 2025
@nfebe nfebe force-pushed the feature/hide-external-shares-excluded-groups branch from b4e9c0e to 23e44f1 Compare June 17, 2025 09:25
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

@nfebe since the setting is called "Allow users to share via link and emails", exclusion should apply to both link and email. :)

@nfebe nfebe force-pushed the feature/hide-external-shares-excluded-groups branch from 23e44f1 to 595df96 Compare June 17, 2025 13:30
Copy link
Contributor Author

@nfebe nfebe left a comment

Choose a reason for hiding this comment

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

Prevents both emails and link shares now.

},
externalShareInputPlaceholder() {
if (!this.isLinkSharingAllowed) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was already handled in the SharingInput and now the text updated to match so all good now.

- Added frontend check to hide link shares if, public sharing is disabled.

Signed-off-by: nfebe <[email protected]>
@nfebe nfebe force-pushed the feature/hide-external-shares-excluded-groups branch from 595df96 to 57f3edc Compare June 17, 2025 13:33
@nfebe nfebe enabled auto-merge June 17, 2025 13:33
@nfebe
Copy link
Contributor Author

nfebe commented Jun 17, 2025

/compile

@nfebe
Copy link
Contributor Author

nfebe commented Jun 17, 2025

/backport to stable31

@nfebe
Copy link
Contributor Author

nfebe commented Jun 17, 2025

/backport to stable30

@nfebe nfebe changed the title feat(files_sharing): Hide link shares for users in excluded groups fix(files_sharing): Hide link shares for users in excluded groups Jun 17, 2025
@nextcloud-command nextcloud-command requested a review from a team as a code owner June 17, 2025 13:37
@nfebe nfebe force-pushed the feature/hide-external-shares-excluded-groups branch 3 times, most recently from 7a9a58e to edb7fec Compare June 17, 2025 17:35
Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe force-pushed the feature/hide-external-shares-excluded-groups branch from edb7fec to 9583a67 Compare June 17, 2025 18:30
@nfebe nfebe merged commit 768898e into master Jun 17, 2025
124 checks passed
@nfebe nfebe deleted the feature/hide-external-shares-excluded-groups branch June 17, 2025 18:45
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Design, UI, UX, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants