-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Task] Adapting changes for decoupling admin bundle (#131)
* Adapting changes for decoupling admin bundle * Apply php-cs-fixer changes * Activated require admin bundle check * Copy security.yaml based on version * Fix phpstan * Apply php-cs-fixer changes * Fixed typo * Small refactorings * Added namespace * Adjusted composer require command for admin ui bundle * Adapted requirement in composer * Moved registerDependentBundles * Apply php-cs-fixer changes --------- Co-authored-by: mcop1 <[email protected]>
- Loading branch information
Showing
11 changed files
with
96 additions
and
63 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
return [ | ||
'Pimcore\\Bundle\\EcommerceFrameworkBundle\\PimcoreEcommerceFrameworkBundle' => ['all' => false], | ||
'Pimcore\\Bundle\\PerspectiveEditorBundle\\PimcorePerspectiveEditorBundle' => ['all' => true], | ||
\Pimcore\Bundle\AdminBundle\PimcoreAdminBundle::class => ['all' => true], | ||
\Pimcore\Bundle\PerspectiveEditorBundle\PimcorePerspectiveEditorBundle::class => ['all' => true] | ||
]; |
This file contains 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 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 |
---|---|---|
|
@@ -29,8 +29,6 @@ pimcore: | |
steps: 10 | ||
icc_rgb_profile: '' | ||
icc_cmyk_profile: '' | ||
hide_edit_image: false | ||
disable_tree_preview: false | ||
full_page_cache: | ||
enabled: false | ||
lifetime: null | ||
|
@@ -51,15 +49,6 @@ pimcore: | |
email: [email protected] | ||
debug: | ||
email_addresses: '' | ||
newsletter: | ||
sender: | ||
name: '' | ||
email: '' | ||
return: | ||
name: '' | ||
email: '' | ||
debug: null | ||
use_specific: true | ||
applicationlog: | ||
mail_notification: | ||
send_log_summary: false | ||
|
This file contains 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,31 @@ | ||
security: | ||
enable_authenticator_manager: true | ||
|
||
providers: | ||
pimcore_admin: | ||
id: Pimcore\Security\User\UserProvider | ||
|
||
firewalls: | ||
dev: | ||
pattern: ^/(_(profiler|wdt)|css|images|js)/ | ||
security: false | ||
|
||
# Pimcore WebDAV HTTP basic // DO NOT CHANGE! | ||
pimcore_webdav: | ||
pattern: ^/asset/webdav | ||
provider: pimcore_admin | ||
http_basic: ~ | ||
|
||
access_control: | ||
# Pimcore admin ACl // DO NOT CHANGE! | ||
- { path: ^/admin/settings/display-custom-logo, roles: PUBLIC_ACCESS } | ||
- { path: ^/admin/login/2fa-verify, roles: IS_AUTHENTICATED_2FA_IN_PROGRESS } | ||
- { path: ^/admin/login/2fa-setup, roles: ROLE_PIMCORE_USER } | ||
- { path: ^/admin/login/2fa, roles: IS_AUTHENTICATED_2FA_IN_PROGRESS } | ||
- { path: ^/admin/login$, roles: PUBLIC_ACCESS } | ||
- { path: ^/admin/login/(login|lostpassword|deeplink|csrf-token)$, roles: PUBLIC_ACCESS } | ||
- { path: ^/admin, roles: ROLE_PIMCORE_USER } | ||
|
||
role_hierarchy: | ||
# Pimcore admin // DO NOT CHANGE! | ||
ROLE_PIMCORE_ADMIN: [ROLE_PIMCORE_USER] |
This file contains 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 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 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 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 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 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 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