Introduce index, edit and readonly views for repository.  Also index repo so it shows up in the search;
Changes to key permissions on repo URI, not repo code.
Update UI to handle storing of repository URI on the session (rather than the code); Also allow select of repo via the repo list and only on repo's the user has permissions to