<@U04UQ68083H> is there a way to create ory permis...
# ory-copilot
b
@chilly-king-10285 is there a way to create ory permissions based on the user's email address, not their unique id?
c
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. The provided extracts do not contain specific information about creating Ory permissions based on a user's email address. However, Ory Permissions allows you to define complex access control policies and manage access to resources and data in your application. You might be able to use a user's email address as an identifier in these policies, but further information would be needed to confirm this. For more details, you might find it helpful to review the [Ory Permissions documentation](https://www.ory.sh/docs/guides/permissions/overview) and the [Ory Permission Language specification](https://www.ory.sh/docs/keto/reference/ory-permission-language).
b
@chilly-king-10285 is there a way in ory to create relationships based on the Ory Organization the identity is in
c
A message from kapa.ai
Based on the provided extracts, Ory does allow for the creation of relationships, which are facts about entities stored in Ory Permissions. A relationship consists of three elements: an object entity, a relation string, and a subject entity. These relationships represent real relationships between different entities in your application. However, the extracts do not provide specific information about creating relationships based on the Ory Organization that an identity is in. It's possible that you could define a relationship that includes the organization as an entity, but the specifics would depend on the details of your implementation and the capabilities of Ory. For more detailed information, you might find it helpful to review the [Ory Permissions documentation](https://www.ory.sh/docs/keto/guides/simple-access-check-guide#understand-ory-permissions) and the [Ory Organization documentation](https://www.ory.sh/docs/kratos/organizations).