billions-fireman-81445
01/30/2025, 6:10 PMreadOwnedObjects
to permits:
and saved the new permissions rule code successfully (no errors). When I refresh the page, I can see the updated code has indeed been saved. However, the check API does not know about the new permission. It consistently returns "reason": "relation \"readOwnedObjects\" does not exist",
It seems like the new permissions model is not active. Do I need to do something to apply my updated permissions model?brief-egg-61061
01/30/2025, 6:10 PMbrief-egg-61061
01/30/2025, 6:10 PMreadOwnedObjects
) might need corresponding relationships to be created. As mentioned in the [Ory Permissions overview](https://www.ory.sh/docs/guides/permissions/overview), permissions are based on relationships between subjects and objects. 3. API Synchronization: There might be a delay or synchronization issue between updating the permissions in the web UI and the changes being reflected in the API. The documentation doesn't explicitly mention a process for applying updated permission models, but it's possible that there could be a propagation delay. 4. Checking Permissions: You might want to double-check your permission check using the methods described in the [API documentation for checking permissions](https://www.ory.sh/docs/reference/api). Ensure that you're using the correct API endpoints and parameters for your check. 5. Potential Bug: There's a possibility that this could be a bug. In the [GitHub issue about loading permissions](https://github.com/ory/network/issues/293), there was a problem with loading permission rules in the Ory console. While this issue was marked as fixed, it shows that such issues can occur. Given the lack of specific information about applying updated permission models, I would recommend reaching out to Ory support or posting in their community forums for more targeted assistance with this issue. They would be able to provide more specific guidance on whether there are additional steps needed to apply updated permission models or if this is a potential bug in the system.