This documentation outlines the interaction between the UI components and the backend for managing roles, teams, and resources. It describes the JSON query structures for fetching data and the corresponding UI elements for displaying and manipulating this data.
<aside> ℹ️ A quick note: We assume that you prefer to design and develop your own UI and pages for permission management and modification. However, in case there is any need or desire for assistance, we can provide unique user interfaces that are fully compatible with Permify.
</aside>
Here is an example authorization schema to be used in following JSON query structures to demonstrate a case with sample scenario.
entity user {}
entity role {
relation assignee @user @team#member
}
entity team {
relation member @user
}
entity resource {
relation editor @role#assignee
permission edit = editor
}