Page 1 of 1

ACL Full Control Access - Admin

Posted: Wed Jul 30, 2014 4:38 pm
by Mike6979865

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,


ACL Full Control Access - Admin

Posted: Wed Jul 30, 2014 6:23 pm
by Kateryna Grynko

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...


ACL Full Control Access - Admin

Posted: Fri Aug 01, 2014 4:38 pm
by Mike6979865

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,


ACL Full Control Access - Admin

Posted: Fri Aug 01, 2014 8:23 pm
by Kateryna Grynko

Hi Mike,

Please use Update service rather than Database control panel to change 'acl' value.