'Scenario: Added users cannot delete or add other users
Given I have opened a new course in Studio
And I am viewing the course team settings
When I add other user to the course team
And other user logs in
And he selects the new course
And he views the course team settings
Then he cannot manage users'

def test_added_users_cannot_add_or_delete_other_users(self):

    self.page.add_user_to_course(self.other_user.get('email'))
    self._assert_user_present(self.other_user, present=True)
    self.log_in(self.other_user)
    self._assert_current_course(visible=True)
    self._go_to_course_team_page()
    bob = self.page.get_user(self.other_user.get('email'))
    self.assertTrue(bob.is_current_user)
    self.assertFalse(self.page.has_add_button)
    self._assert_can_not_manage_users()
