Improve Permissions validator and entity manager :
can now save permissions and prevent duplicating (username, project) pairs