Type-level permission
1. Set permission in the schema file
2. Apply the changes using tailorctl
Record level permission
Apply recordPermission property
Apply record level permission through GraphQL query
1. Create a new Payroll resource
2. Read the resource
3. Change permission for read
4. Retry to read the resource
Getting permission