Commit 8b56257e authored by l26yan's avatar l26yan
Browse files

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

ISTWCMS-4915 Content editors have 'update any media' and site managers don't have 'access content access form'
parent dba0602f
......@@ -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