IDEX-1618: Don't allow user to build or debug project if user has RO access to the project; enable updating dependencies for project with RO access

- don't allow user to build or debug project if user has RO access to the project;
- enable updating dependencies for project with RO access.