Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit 4159fbf

Browse files
Merge pull request #245 from appwrite/update-permissions-docs
feat: update sdk helpers for Roles
2 parents e02de1a + a7fe8bb commit 4159fbf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/views/docs/permissions.phtml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ p>Using permissions, you can decide that only <span class="tag">user A</span> an
7979
<td>Grants access to any guest user without a session. Authenticated users don't have access to this role.</td>
8080
</tr>
8181
<tr>
82-
<td>Role.users()</td>
83-
<td>Grants access to any authenticated or anonymous user.</td>
82+
<td>Role.users([STATUS])</td>
83+
<td>Grants access to any authenticated or anonymous user. You can optionally pass the <span class="tag">verified</span> or <span class="tag">unverified</span> string to target specifc types of users.</td>
8484
</tr>
8585
<tr>
86-
<td>Role.user([USER_ID])</td>
87-
<td>Grants access to a specific user by user ID.</td>
86+
<td>Role.user([USER_ID], [STATUS])</td>
87+
<td>Grants access to a specific user by user ID. You can optionally pass the <span class="tag">verified</span> or <span class="tag">unverified</span> string to target specifc types of users.</td>
8888
</tr>
8989
<tr>
9090
<td>Role.team([TEAM_ID])</td>

0 commit comments

Comments
 (0)