creamy-spring-7553
05/31/2024, 1:31 PMService:medicine#owners@(Group:tech#members)
Service:medicine#viewers@(Group:operations#members)
Group:audit#parents@(Group:operations)
chilly-king-10285
05/31/2024, 1:31 PMchilly-king-10285
05/31/2024, 1:32 PMtech
group are the owners of the medicine
service. In other words, users in the tech
group have ownership permissions over the medicine
service. 2. `Service:medicine#viewers@(Group:operations#members)`: This line establishes a relationship where the members of the operations
group are viewers of the medicine
service. This means that users in the operations
group have viewing permissions for the medicine
service. 3. `Group:audit#parents@(Group:operations)`: This line establishes a relationship where the operations
group is a parent of the audit
group. The exact permissions this relationship grants would depend on the specific rules defined in your system, but it generally implies some level of control or oversight by the operations
group over the audit
group. Remember, these relationships are used by Ory to check permissions when a user tries to perform an action. The exact implications of these relationships can vary depending on the specific rules and permission models you've defined in your system. For more information on how to define relationships and permissions in Ory, you can refer to the [Ory documentation](https://www.ory.sh/docs/keto/modeling/create-permission-model#define-relationships-in-the-opl).creamy-spring-7553
05/31/2024, 1:34 PMchilly-king-10285
05/31/2024, 1:34 PMchilly-king-10285
05/31/2024, 1:34 PMGroup:audit#parents@(Group:operations)
establishes a relationship where the operations
group is a parent of the audit
group. However, this doesn't necessarily mean that the audit
group will inherit permissions from the operations
group or the medicine
service. Inheritance of permissions in Ory is not implicitly defined by parent-child relationships. Instead, it depends on the specific rules and permission models you've defined in your system. If you've set up your permission model to allow for inheritance, then the audit
group could potentially inherit permissions from the operations
group. As for the medicine
service, the audit
group would only have permissions for this service if you've explicitly defined a relationship that grants these permissions. The provided policy does not establish such a relationship. For more information on how to define relationships and permissions in Ory, you can refer to the [Ory documentation](https://www.ory.sh/docs/keto/modeling/create-permission-model#define-relationships-in-the-opl).