Skip to content
Snippets Groups Projects
Commit 8bb9c5e3 authored by Mohammed Razem's avatar Mohammed Razem Committed by Rajab Natshah
Browse files

Issue #3206322 by Mohammed J. Razem: Add permissions for Media bulk config....

Issue #3206322 by Mohammed J. Razem: Add permissions for Media bulk config. All roles (Editor and above can upload in bulk)
parent 03f7275f
No related branches found
No related tags found
No related merge requests found
...@@ -188,6 +188,7 @@ permissions: ...@@ -188,6 +188,7 @@ permissions:
- 'update media' - 'update media'
- 'update varbase_heroslider_media entityqueue' - 'update varbase_heroslider_media entityqueue'
- 'use ipe with page manager' - 'use ipe with page manager'
- 'use media_bulk_upload bulk upload form'
- 'use moderation sidebar' - 'use moderation sidebar'
- 'use panels dashboard' - 'use panels dashboard'
- 'use text format basic_html' - 'use text format basic_html'
......
...@@ -132,6 +132,7 @@ permissions: ...@@ -132,6 +132,7 @@ permissions:
- 'update media' - 'update media'
- 'update varbase_heroslider_media entityqueue' - 'update varbase_heroslider_media entityqueue'
- 'use ipe with page manager' - 'use ipe with page manager'
- 'use media_bulk_upload bulk upload form'
- 'use moderation sidebar' - 'use moderation sidebar'
- 'use text format basic_html' - 'use text format basic_html'
- 'use text format full_html' - 'use text format full_html'
......
...@@ -245,6 +245,7 @@ permissions: ...@@ -245,6 +245,7 @@ permissions:
- 'update media' - 'update media'
- 'update varbase_heroslider_media entityqueue' - 'update varbase_heroslider_media entityqueue'
- 'use ipe with page manager' - 'use ipe with page manager'
- 'use media_bulk_upload bulk upload form'
- 'use moderation sidebar' - 'use moderation sidebar'
- 'use panels dashboard' - 'use panels dashboard'
- 'use panels in place editing' - 'use panels in place editing'
......
Feature: Admin management - Standard User Management - Users with permission to bulk upload media
As a logged in user with permission to use media bulk upload bulk upload form
I will be able to bulk upload media
So that large number of asset files can be uploaded at onces
@javascript @check @local @development @staging @production
Scenario: Check that user Number 1 can bulk upload media
Given I am a logged in user with the "webmaster" user
When I go to "/admin/content/media/bulk-upload/media_bulk_upload"
And I wait
Then I should see "Multiple upload"
@javascript @check @local @development @staging @production
Scenario: Check that an anonymous users can not bulk upload media
Given I am an anonymous user
When I go to "/admin/content/media/bulk-upload/media_bulk_upload"
And I wait
Then I should not see "Multiple upload"
And I should see "Access denied"
@javascript @check @local @development @staging @production
Scenario: Check that an authenticated user can not bulk upload media
Given I am a logged in user with the "test_authenticated" user
When I go to "/admin/content/media/bulk-upload/media_bulk_upload"
And I wait
Then I should not see "Multiple upload"
And I should see "Access denied"
@javascript @check @local @development @staging @production
Scenario: Check that Editor users can bulk upload media
Given I am a logged in user with the "test_editor" user
When I go to "/admin/content/media/bulk-upload/media_bulk_upload"
And I wait
Then I should see "Multiple upload"
@javascript @check @local @development @staging @production
Scenario: Check that Content Admin users bulk upload media
Given I am a logged in user with the "test_content_admin" user
When I go to "/admin/content/media/bulk-upload/media_bulk_upload"
And I wait
Then I should see "Multiple upload"
@javascript @check @local @development @staging @production
Scenario: Check that SEO Admin users can bulk upload media
Given I am a logged in user with the "test_seo_admin" user
When I go to "/admin/content/media/bulk-upload/media_bulk_upload"
And I wait
Then I should see "Multiple upload"
@javascript @check @local @development @staging @production
Scenario: Check that Site Admin users can bulk upload media
Given I am a logged in user with the "test_site_admin" user
When I go to "/admin/content/media/bulk-upload/media_bulk_upload"
And I wait
Then I should see "Multiple upload"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment