The focus of this tutorial is to show how to grant access to Chino.io resources only to selected Users with the Permissions system.
We are going to create two categories of Users, Doctors and Patients, that will be granted different access rights over the same resource type (Documents). In particular:
Create Documents that contain the results of a visit
Read every Document created
Grant Permissions to Patients to read the Documents he creates
Read only the Documents over which the doctor has granted him the Permission
Other than Users, we will use the following Chino.io resources:
Application: used to authenticate Users.
Repository: the main container for Schemas.
Schema: defines the structure, i.e. the set of fields, of Documents. Every Document created under the same Schema has the same fieldset.
Learn more about the Chino.io API and how to use it in your application.
Looking for more help?
Frequently Asked Questions
Our FAQ answers the most common questions from developers and project managers.
Need more specific help?
We're always happy to answer your technical questions.