Back

Labels vs. Teams

  • 0
  • Self Hosted
  • Web
  • Users
zdanl
30 Nov, 2023, 05:24

I'm very glad there is an update as to permission flags: Labels.

Is it safe to assume this is meant for an admin to be set, programatically or in the console, and to be read-only in the client otherwise?

If so, I think the SDK documentation is missing listLabels.

https://appwrite.io/docs/references/cloud/server-nodejs/users#updateLabels

Thanks for continuous improvement. !

TL;DR
The user is asking if there is a way to add role permissions to a specific label. They also mention using a cloud function for this. They mention that there is no endpoint client-side for this because it is within the user resource. They also mention that they are glad about the update regarding permission flags for labels. They ask if it is safe to assume that this is meant to be set by an admin and to be read-only for clients. They also mention that the SDK documentation is missing the listLabels function and provide a link to the documentation. No solution is mentioned in the thread.
zdanl
30 Nov, 2023, 05:27

Labels vs. Teams

Drake
30 Nov, 2023, 18:05

Yes, it's for the admin to set.

There's no endpoint client side because it's within the user resource.

Mosh Ontong
8 Dec, 2023, 01:28

if the other user want to add a role permission to the specific label, to do this I have to use cloud function?

Drake
8 Dec, 2023, 10:43

Please create a separate post

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more