Back

[SOLVED] Removing permission via dart sdk

  • 0
  • Databases
  • Flutter
  • Users
Sabit
24 Apr, 2023, 08:02

Hello! How to remove specific users from permission list via dart sdk? For example, I gave permission to multiple users for a collection. Now I want to remove one user from permission. How to do it?

TL;DR
The user was able to solve the issue by retrieving the permission lists, removing the desired user, and then updating the collection with the updated list. They recommend providing a new list of permissions without the user to be removed, as it will override the existing list. Unfortunately, there is no specific solution mentioned in the thread.
joeyouss
24 Apr, 2023, 10:11

can you please remove one?

joeyouss
24 Apr, 2023, 10:26

Also, to update

joeyouss
24 Apr, 2023, 10:26

You’d need to give a new list or permissions without the user you want to remove. This will override your existing list

Sabit
24 Apr, 2023, 12:51

Thank you! I got all the permission lists and removed the user that should be removed from them and re-added that sheet when updating the collection and it worked.

joeyouss
1 May, 2023, 09:54

[SOLVED] Removing permission via dart sdk

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