There are two distinct project roles: being part of the project (member. admin, owner), or having only shared access to one or more collections/records in the project. For the former, users should be able to "switch" to the project (root directory) and navigate as they would their own account, but for the latter case, users should only be shown the collections/records they have access to. This can be achieved by the CLI first testing a users role in a project, then performing one of the two cases.
There are two distinct project roles: being part of the project (member. admin, owner), or having only shared access to one or more collections/records in the project. For the former, users should be able to "switch" to the project (root directory) and navigate as they would their own account, but for the latter case, users should only be shown the collections/records they have access to. This can be achieved by the CLI first testing a users role in a project, then performing one of the two cases.