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

[stable27] Show pending popover menu when password is enabled by default #38395

Merged
merged 3 commits into from
Jul 13, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #38164

@nickvergessen nickvergessen added the 3. to review Waiting for reviews label May 23, 2023
@blizzz blizzz mentioned this pull request May 24, 2023
10 tasks
@skjnldsv skjnldsv mentioned this pull request May 31, 2023
16 tasks
@skjnldsv skjnldsv mentioned this pull request Jun 8, 2023
22 tasks
@blizzz blizzz mentioned this pull request Jun 12, 2023
@blizzz blizzz mentioned this pull request Jul 10, 2023
@blizzz
Copy link
Member

blizzz commented Jul 10, 2023

/compile amend /

@blizzz
Copy link
Member

blizzz commented Jul 11, 2023

still conflicts :-/

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
When "Enforce password protection" is enabled in the sharing settings a
popover menu is shown to set a password before the share is created. On
the other hand, when "Always ask for a password" was enabled in the
sharing settings and a new link share was created the share was
immediately created with a default password; the user was not able to
specify a password (nor create the share without password).

The component template already provided the needed elements to also ask
for the password without enforcing it, but the popover menu was not
shown due to "enableLinkPasswordByDefault" being missing in "if"
conditions.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu force-pushed the backport/38164/stable27 branch 2 times, most recently from 8890427 to 03095bb Compare July 13, 2023 06:17
@danxuliu
Copy link
Member

/compile /

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Copy link
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

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

Tested and works 👍

CI failure (psalm) is unrelated.

@blizzz blizzz merged commit 00eaf78 into stable27 Jul 13, 2023
36 of 37 checks passed
@blizzz blizzz deleted the backport/38164/stable27 branch July 13, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants