Commit c30311ce authored by Liam Morland's avatar Liam Morland
Browse files

Merge branch 'feature/ISTWCMS-4915-l26yan-Fix-assorted-permissions' into '3.0.x'

ISTWCMS-4915 Content editors have 'update any media' and site managers don't...

See merge request !167
parents dba0602f 8b56257e
......@@ -1642,6 +1642,10 @@ class UwWcmsBasicTest extends BrowserTestBase {
// Check admin/people/permissions page.
$this->drupalGet('admin/people/permissions');
$this->assertSession()->statusCodeEquals(200);
// Content editors should have 'update any media'.
$this->assertSession()->checkboxChecked('edit-uw-role-content-editor-update-any-media');
// Site managers should not have 'access content access form'.
$this->assertSession()->checkboxNotChecked('edit-uw-role-site-manager-access-content-access-form');
// Site owner role has administer users.
$this->assertSession()->checkboxChecked('edit-uw-role-site-owner-administer-users');
// Only the site owner role assign roles permissions.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment