-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(files_sharing): Hide link shares for users in excluded groups #53466
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
Conversation
137152b to
1e8112c
Compare
|
Should this apply to emails as well? |
cccdaf9 to
37b7486
Compare
b4e9c0e to
23e44f1
Compare
jancborchardt
left a comment
There was a problem hiding this 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. :)
23e44f1 to
595df96
Compare
nfebe
left a comment
There was a problem hiding this 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) { |
There was a problem hiding this comment.
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]>
595df96 to
57f3edc
Compare
|
/compile |
|
/backport to stable31 |
|
/backport to stable30 |
7a9a58e to
edb7fec
Compare
Signed-off-by: nextcloud-command <[email protected]>
edb7fec to
9583a67
Compare
Excluded groups should not see the create link share option in UI?