Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a649f548 authored by Kelvin Kwan's avatar Kelvin Kwan
Browse files

Ensure user can only share documents from allowed users.

This is done by placing checking on various levels.

- On the UI level, we check in the loader (DirectoryLoader/Recents Loader).
- We also block querying document in DocumentsAccess
- And we will not return the uris if we are not allowed to access the target
user uri.

Need to follow up on some issues:
Breadcrumb bar disappeared in disabled user
(because we cannot load root document and push to the stack)
Cannot search if selected user is disabled (because of empty stack.
We cannot restart loader in loadDocumentsForCurrentStack)

Bug: 149818298
Bug: 148270816
Test: atest DocumentsUIGoogleTests
Test: manual

Change-Id: I000813d3e66a8c376dbfbd7e4085f403c2e5e0f6
parent 4505a178
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment