'Make sure a non-admin user can\'t modify the repository.'

def test_0030_verify_access_denied(self):

    '\n                                This    is    step    6    -    Log    into    the    Tool    Shed    as    a    user    that    is    not    the    repository    owner    (e.g.,    user2)    and    make    sure    the    repository\n                                name    and    description    cannot    be    changed.\n                                '
    self.login(email=common.test_user_2_email, username=common.test_user_2_name)
    repository = self.test_db_util.get_repository_by_name_and_owner('renamed_filtering_0530', common.test_user_1_name)
    strings_not_displayed = ['Manage    repository']
    strings_displayed = ['View    repository']
    self.display_manage_repository_page(repository, strings_not_displayed=strings_not_displayed)
    self.submit_form(button='edit_repository_button', description='This    description    has    been    modified.')
    strings_displayed = ['You    are    not    the    owner    of    this    repository,    so    you    cannot    administer    it.']
    strings_not_displayed = ['The    repository    information    has    been    updated.']
    self.check_for_strings(strings_displayed=strings_displayed, strings_not_displayed=strings_not_displayed)
