Users with a different label cannot grant read permission to each other. This is causing a 401 error. To solve this, you can create Appwrite Functions with a Server SDK to allow users to grant access to teams they are not a member of. You can find more information on how to do this in the documentation at <https://appwrite.io/docs/advanced/platform/permissions>.
PingGhost
Rank 1: Thread
Nov 1, 2023, 00:08
any help fellas
Drake
Nov 1, 2023, 00:44
A project user can only grant permissions to a resource that they own. For example, if a user is trying to share a document with a team that they are not a member of, they will encounter a 401 not authorized error. If your app needs users to grant access to teams they're not a member of, you can create Appwrite Functions with a Server SDK to achieve this functionality.