AutorÃa | Ultima modificación | Ver Log |
@core @core_contentbankFeature: Access permission to content BankIn order to control access to content bankAs an adminI need to be able to configure users' permissionsBackground:Given the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | 1 | user1@example.com |And the following "courses" exist:| fullname | shortname | category || Course 1 | C1 | 0 |And the following "course enrolments" exist:| user | course | role || teacher1 | C1 | editingteacher |Scenario: Admins access content bankGiven I log in as "admin"And I am on "Course 1" course homepageThen "Content bank" "link" should existScenario: Editing teachers can access content bank at course levelGiven I log in as "teacher1"And I am on "Course 1" course homepage with editing mode onThen "Content bank" "link" should existScenario: Editing teachers can't access content bank at system levelGiven I log in as "teacher1"Then "Content bank" "link" should not exist