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
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...