Refactor projects search of project permission management in order to specify what this query do