bored-agency-21522
07/11/2023, 3:41 PMmagnificent-energy-493
Organization, Unit, and Bank Account.
2. Make a list of relationships each object has to other objects: For example, an Organization has Units, a Unit has Bank Accounts, and a User can have access to Bank Accounts within a Unit of an Organization.
3. Define each relation in the OPL (Ory Permission Language): This would involve writing rules that define the relationships between the objects.
4. Make a list of permissions that you want to check: For example, whether a User has access to a Bank Account in a specific Unit of an Organization.
5. Define each permission in the OPL: This would involve writing rules that define the permissions.
6. Test your permission model: This can be done manually through the API or SDK, or by automating the testing process.
Any contributions in terms of examples are very welcome at github.com/ory/examples.
Ory also offers onboarding support which can include helping with building the permission model & testing etc.bored-agency-21522
07/12/2023, 6:35 AMbored-agency-21522
07/13/2023, 7:36 AM