roles_permissions table I have added a single permission: project.view for a role owner.projects_users table I have a row with project_id, profile_id, and role.authorize function manually works fine and returns true as I would expect. However, the RLS policy never passes. The projects table has a SELECT policy defined as authorize('projects.view'::app_permission, uid(), id).