it checks if user can read/write repositories