-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Introduced granulated Media Gallery ACL resources #29715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
771dc31
Introduce granulated Media Gallery ACL resources and enforce for old…
Nazar65 dd9bdda
Improve acl resources for new media gallery
Nazar65 989139f
Improve button visibility
Nazar65 239314d
Improve button visibility per allowed actions for user
Nazar65 eaa20f2
Merge branch '2.4-develop' of https://github.com/magento/magento2 int…
Nazar65 8cdcefd
Improve buttons visibility per user permission
Nazar65 43fd057
Code style improvements
Nazar65 dfa67b0
Static test fixes
Nazar65 8ef07f4
fix css static tests
Nazar65 3af8416
Fix composer json
Nazar65 7940f59
cover changes with mftf tests
Nazar65 e690a8d
Refactor mftf tests
Nazar65 4c085d7
Fix flaky mftf test
Nazar65 0e28c91
fix actiongroup to clear filters
Nazar65 80dae45
Fix flaky mftf tests
Nazar65 67636e7
magento/magento2#29715: Moved ACL to MediaGalleryApi
sivaschenko 739e6dc
magento/magento2#29715: Moved ACL to MediaGalleryUiApi
sivaschenko 68bc010
magento/magento2#29715: Enforced ACL for context menu and view details
sivaschenko 0ad0630
magento/magento2#29715: Corrected ACL resource names
sivaschenko 9ccfdc9
magento/magento2#29715: Added data upgrade script
sivaschenko 7b58d97
Merge branch '2.4-develop' into ASI-1487
sivaschenko 90c9dac
magento/magento2#29715: Corrected actions order
sivaschenko 88a0150
Merge branch '2.4-develop' into ASI-1487
sivaschenko 748eb4f
magento/magento2#29715: Corrected dependencies
sivaschenko b3d5255
magento/magento2#29715: Corrected standalone actions and upgrade script
sivaschenko 0a6156f
magento/magento2#29715: Fixed upgrade
sivaschenko 253bafb
magento/magento2#29715: Fixed tests
sivaschenko 2448fd8
Merge branch '2.4-develop' into ASI-1487
sivaschenko cf288e6
Merge branch '2.4-develop' of github.com:magento/magento2 into ASI-1487
sivaschenko 7296cdf
magento/magento2#29715: Removed redundant dependency
sivaschenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd"> | ||
<acl> | ||
<resources> | ||
<resource id="Magento_Backend::admin"> | ||
<resource id="Magento_Backend::content"> | ||
<resource id="Magento_Backend::content_elements"> | ||
<resource id="Magento_Cms::media_gallery"> | ||
<resource id="Magento_Cms::upload_assets" title="Upload Assets" translate="title" sortOrder="70"/> | ||
<resource id="Magento_Cms::delete_assets" title="Delete Assets" translate="title" sortOrder="60"/> | ||
<resource id="Magento_Cms::insert_assets" title="Insert Assets into the content" translate="title" sortOrder="50"/> | ||
<resource id="Magento_Cms::create_folder" title="Create Folder" translate="title" sortOrder="40"/> | ||
<resource id="Magento_Cms::delete_folder" title="Delete Folder" translate="title" sortOrder="40"/> | ||
Nazar65 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</resource> | ||
</resource> | ||
</resource> | ||
</resource> | ||
</resources> | ||
</acl> | ||
</config> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.