-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix/permissions] Limit action availability based on permissions (#632)
* - ClientRootViewController: do not add dot to the end of the short connection status description if it already has one - UIImageView+Thumbnails: fix retain loop, leading to leaking an OCCore - and all possible issues relating to that * - Update to latest SDK * - Update SDK and adapt ProgressSummarizer for new event type * - Fix core-stop-blocking share reload query retain loop via SDK update * - add permission checks to CreateFolderAction, DeleteAction, DocumentEditingAction, MoveAction, RenameAction, ScanAction and UploadBaseAction, so they are unavailable if permissions aren't sufficient for their usage - add alert to inform the user that no actions are available in cases where no actions are available for a folder and the user presses the folder action "+" button * - Update SDK * fixed QA finding (1) #623 * Fix for QA issue (2) Media upload settings shall not allow selection of the upload folder which lacks required Permissions * #623 QA finding (6) allow Markup it at least one permission is available and restrict save actions to available permissions * - address issue (1) using ActionContext.query.rootItem * OCCore+Extension.swift: - remove items from OCShareQueries where they are not used by the core to avoid warnings in the log - add option for partial matches to sharesSharedWithMe() via allowPartialMatch option PublicLinkTableViewController.swift: - take advantage of allowPartialMatch option - determine share nested the deepest to determine permissions (fixes finding 84) in #632 * - Update SDK * - make move action available for directories with .move or .delete permission (as documented in #632 (comment) ) * - Fix finding (3) in #632 via SDK update Co-authored-by: Matthias Hühne <[email protected]>
- Loading branch information
1 parent
88df01d
commit f9a0201
Showing
17 changed files
with
89 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters