fix: GraphQL error on sync views for roles without credentials access (#977)