Q1. What is the problem that you are trying to solve?
On the current Passbolt Android app I can share a single entry with users and groups, but nothing else about who has access. I cannot share a folder, move an entry into or out of a folder, or add or remove a member of a group. In the browser these are the everyday tools for controlling access, because a folder or group usually is the access boundary.
So when I am away from my desk I cannot react. I cannot revoke a colleague’s or contractor’s access when something happens, and I cannot grant someone access to exactly what they need right now. The workaround is over-sharing in advance from the desktop, for example before a trip when I only bring my phone. That is the opposite of least privilege.
The problem is solved when everything I can do with folders and group membership in the browser extension, I can also do from the phone, with the same result on the server.
Q2. Who is impacted?
Every user who organizes shared credentials with folders or groups and uses the mobile app: team leads, admins, group managers, and small companies where the owner manages access personally. It matters most for people who travel or are on call, where the phone is often the only device available.
Q3. Why is it important and/or urgent?
- Security: revoking access is time-critical. If the only way to remove someone is to get to a laptop, access stays open longer than it should.
- Least privilege: just-in-time sharing from the phone removes the reason to over-share in advance.
- Consistency: the mobile app already supports folders for browsing and sharing for single entries. Folder sharing, moving and group membership complete that picture, using the API endpoints the browser extension already uses.
Q4. What is your proposed solution?
Same behaviour as the browser extension, so a folder or group means the same thing on every client.
User stories:
- As a folder owner I can edit the folder’s permissions from the app, and the change is applied to the sub-folders and entries I own inside it.
- As an entry owner I can move an entry to another folder or to the root, and its permissions follow the folder.
- As a group manager I can add a user to the group and remove a user from it.
Rules (as in the extension):
- Folder share: added recipients are added where missing. Removed recipients are removed where they had the same access as on the folder. Changed access is changed where the item still had the folder’s original access. Anything set differently on an individual entry is left alone. Secrets are encrypted for new recipients through the normal share flow.
- Move: permissions the entry only had because of its old folder are dropped, the destination folder’s permissions are added, and a move to the root keeps the user as owner. Read-only entries and read-only destination folders follow the extension’s rules.
- Group members: adding a member uses the update dry run to get the secrets the new member needs, encrypts them for that member and sends them with the update. Removing a member needs no secrets.
Test scenarios:
- Given I own an entry in my personal folder, when I move it into a folder shared with group G, then members of G can read it.
- Given that entry is in the shared folder, when I move it back to my personal folder, then members of G can no longer read it and I am still the owner.
- Given I own folder F with two entries, when I share F with user U, then F and both entries are shared with U.
- Given an entry in F where U has “can update” set directly, when I remove U’s “read” access from F, then U keeps “can update” on that entry.
- Given I am a manager of group G, when I remove user U from G, then U immediately loses access to everything shared with G.
- Given I am a manager of group G, when I add user U, then U can decrypt every entry shared with G.
I have a working implementation on top of Android 3.4.0 that I am currently testing on my own instance now: conscientsystems/mobile-passbolt-android, branch workspace-groups. I am happy to open a pull request or split it into smaller ones if that helps.
Kind regards from Denmark,
Tor
ps. removing the Community Poll because I get: An error occurred: You are not allowed to create polls.
Must have: this is critical for me to have this
Should have: this is important for me to have this
Could have: this could be nice to have
Won’t have: we should not schedule this (explain why)