#[SOLVED] Noticed a lot of guides using Lables to determine roles and permissions. Why use Role ...
1 messages · Page 1 of 1 (latest)
You'll use the role class even when setting up permissions for labels.
https://appwrite.io/docs/advanced/platform/permissions#permission-roles
Labels in Appwrite are what most other services call Roles. So if someone has subscribed to your app, you'll create a subscriber label, and then you can lock content to make it only viewable to users with the subscriber label.
Permission.read(Role.label('subscriber'))
[Solved] Noticed a lot of guides using Lables to determine roles and permissions. Why use Role ...