i try to set permissions on my collection, i'd like to set labels, that only Admin label, can perform something but it doesn't seems to exists Is there a way like Teams, to add/list/edit labels?
and the ui is broken...
Make a issue for this in github they will fix it
I’m not clear what you mean by “doesn’t seem to exist”?
No, you can’t list Labels - Labels aren’t an independent thing which can be created/deleted - they’re just labels you can add to a User
Thanks! So it means i cant find users that has the same label?
created !
when hovering it says "Not found". so i guess. it's doesn't exist? what else can not be found when hovering the label? i dont know
If you mean can you get a list of all users with a specific label, yes, you can call users.list([ Query.contains("labels", "labelToFind") ]) (note that this will only work from the server side API, and requires Appwrite 1.5 for the contains Query)
I’m not sure what’s going on with your UI there, but labels can’t be found or not found - they’re not a thing that exists (this isn’t great wording, but I can’t think of better rn)
Thanks for that !
Thanks for sharing, I'll look into it 🙏
Recommended threads
- One org lost all data out of 13 org's af...
> https://<domain>/v1/storage/buckets?queries%5B0%5D=%7B%22method%22%3A%22limit%22%2C%22values%22%3A%5B6%5D%7D&queries%5B1%5D=%7B%22method%22%3A%22offset%22%2C%...
- database documents relationships
after migrating from 1.7.4 to 1.8, database get document and list documents is getting results but with no relationship values, the relationship attribute will...
- deployment on every remote branch leads ...
Hi there, on my local appwrite instance it rebuilds my site on every deployment i make to github on every branch, even the main branch is set in the site settin...