-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
182 additions
and
89 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,5 +1,11 @@ | ||
# Changelog | ||
|
||
## v0.11.1 | ||
|
||
### Features | ||
|
||
- Support for Pimcore 11. | ||
|
||
## v0.11.0 | ||
|
||
### Breaking Changes: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
parameters: | ||
env(MYSQL_HOST): 'database' | ||
env(MYSQL_PORT): '3306' | ||
env(MYSQL_USER): 'pimcore' | ||
env(MYSQL_PASSWORD): 'pimcore' | ||
env(MYSQL_DATABASE): 'pimcore' | ||
env(MYSQL_HOST): 'database' | ||
env(MYSQL_PORT): '3306' | ||
env(MYSQL_USER): 'pimcore' | ||
env(MYSQL_PASSWORD): 'pimcore' | ||
env(MYSQL_DATABASE): 'pimcore' | ||
|
||
doctrine: | ||
dbal: | ||
server_version: '%env(MYSQL_SERVER_VERSION)%' | ||
host: '%env(MYSQL_HOST)%' | ||
port: '%env(int:MYSQL_PORT)%' | ||
user: '%env(MYSQL_USER)%' | ||
password: '%env(MYSQL_PASSWORD)%' | ||
dbname: '%env(MYSQL_DATABASE)%' | ||
mapping_types: | ||
enum: string | ||
bit: boolean | ||
dbal: | ||
server_version: '%env(MYSQL_SERVER_VERSION)%' | ||
host: '%env(MYSQL_HOST)%' | ||
port: '%env(int:MYSQL_PORT)%' | ||
user: '%env(MYSQL_USER)%' | ||
password: '%env(MYSQL_PASSWORD)%' | ||
dbname: '%env(MYSQL_DATABASE)%' | ||
mapping_types: | ||
enum: string | ||
bit: boolean |
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,3 @@ | ||
framework: | ||
session: | ||
storage_factory_id: session.storage.factory.mock_file |
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,2 @@ | ||
parameters: | ||
secret: ThisTokenIsNotSoSecretChangeIt |
This file was deleted.
Oops, something went wrong.
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,57 @@ | ||
security: | ||
enable_authenticator_manager: true | ||
|
||
providers: | ||
pimcore_admin: | ||
id: Pimcore\Bundle\AdminBundle\Security\User\UserProvider | ||
|
||
firewalls: | ||
dev: | ||
pattern: ^/(_(profiler|wdt)|css|images|js)/ | ||
security: false | ||
|
||
# Pimcore WebDAV HTTP basic // DO NOT CHANGE! | ||
pimcore_admin_webdav: | ||
pattern: ^/admin/asset/webdav | ||
provider: pimcore_admin | ||
http_basic: ~ | ||
|
||
# Pimcore admin form login // DO NOT CHANGE! | ||
pimcore_admin: | ||
pattern: ^/admin(/.*)?$ | ||
# admin firewall is stateless as we open the admin | ||
# session on demand for non-blocking parallel requests | ||
stateless: true | ||
provider: pimcore_admin | ||
login_throttling: | ||
max_attempts: 3 | ||
interval: '5 minutes' | ||
|
||
logout: | ||
path: pimcore_admin_logout | ||
target: pimcore_admin_login | ||
custom_authenticators: | ||
- Pimcore\Bundle\AdminBundle\Security\Authenticator\AdminLoginAuthenticator | ||
- Pimcore\Bundle\AdminBundle\Security\Authenticator\AdminTokenAuthenticator | ||
- Pimcore\Bundle\AdminBundle\Security\Authenticator\AdminSessionAuthenticator | ||
two_factor: | ||
auth_form_path: /admin/login/2fa # Path or route name of the two-factor form | ||
check_path: /admin/login/2fa-verify # Path or route name of the two-factor code check | ||
default_target_path: /admin # Where to redirect by default after successful authentication | ||
always_use_default_target_path: false # If it should always redirect to default_target_path | ||
auth_code_parameter_name: _auth_code # Name of the parameter for the two-factor authentication code | ||
trusted_parameter_name: _trusted # Name of the parameter for the trusted device option | ||
multi_factor: false # If ALL active two-factor methods need to be fulfilled (multi-factor authentication) | ||
|
||
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, 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
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: ~ | ||
|
||
# Pimcore Admin Bundle firewall | ||
pimcore_admin: '%pimcore_admin_bundle.firewall_settings%' | ||
|
||
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 } | ||
- { path: ^/asset/webdav, 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