ACL Full Control Access - Admin
Is it possible to give full control to a user to read and write to all records in a collection(i.e query) after all records have been created by different users?
Regards,
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Is it possible to give full control to a user to read and write to all records in a collection(i.e query) after all records have been created by different users?
Regards,
Hi Mike,
Yes, it is. First, when creating a Database record, give control to all users, then you can specify a specific user ID in a field 'acl': http://devcenter.appery.io/documentat...
Can you please clarify.
So, do you mean when the record is first created pass
"*" : {"read":true,"write":true}, and then go to the database, and set a specific user to have read and write access? When I click on the three dots in the database under the acl header, I can change access rights for one record only.
So, what I want is I want to have few admins with the possibility of deleting and adding an admin in the the future. So, what is the best way to do that? Currently, when a user is created, a user has read: true, and write: false. But, I don't want to pass read:true and right:true to a particular user when the record is first created in the app because I may delete/add admins in the future. What is the best solution?
Regards,
Hi Mike,
Please use Update service rather than Database control panel to change 'acl' value.