If I used a private db, I have different uses and permissions for different tables. I'm trying to figure out how I can setup the table permissions in a similar way in CloudKit.
For example, a countries table (admin:read/write, user:read)
Next, a users table (admin:read/write, user:read/limited write)
For example, a countries table (admin:read/write, user:read)
Only managed by an admin
The data can be read by any user but not updated
Data will be populated before any users have the app
Next, a users table (admin:read/write, user:read/limited write)
When a user signs up, a new record is added.
A user should have read and write access to only their record.
Admins should have read and write access to all records.