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

add "askForPassword" on capabilities for sharing #15461

Merged
merged 1 commit into from
May 13, 2019

Conversation

tobiasKaminsky
Copy link
Member

Needed for #15459

This exposes "askForPassword" capability on file_sharing:
If password is enforced, askForPassword will be false.

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

@tobiasKaminsky tobiasKaminsky added the 3. to review Waiting for reviews label May 9, 2019
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

fine by me

Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

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

LGTM. We could save another call here by reusing $public['password']['enforced'].

apps/files_sharing/lib/Capabilities.php Outdated Show resolved Hide resolved
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@MorrisJobke MorrisJobke force-pushed the askForPasswordCapability branch from 0df2056 to b65a595 Compare May 13, 2019 18:09
@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 13, 2019
@MorrisJobke MorrisJobke merged commit 8001c89 into master May 13, 2019
@MorrisJobke MorrisJobke deleted the askForPasswordCapability branch May 13, 2019 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: sharing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants