Skip to content

Commit

Permalink
Merge pull request #322 from appwrite/feat-clarify-permissions
Browse files Browse the repository at this point in the history
Clarify a user can't grant a permission they don't have
  • Loading branch information
TorstenDittmann authored Nov 6, 2023
2 parents 03ae70f + 31c5994 commit 0867013
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ As the name suggests, read permission allows a user to read a resource, create a

All permissions can be granted to individuals or groups of users, entire teams, or only to team members with a specific role. Permission can also be granted based on authentication status, such as to all users, only authenticated users, or only guest users.

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](/docs/sdks#server) to achieve this functionality.
A project user can only grant permissions to a resource that they have. 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](/docs/sdks#server) to achieve this functionality.

# Appwrite resource {% #appwrite-resource %}

Expand Down

0 comments on commit 0867013

Please sign in to comment.