Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # #
- # Security policy definition #
- # #
- # This file contains the security policy configuration for the #
- # Blog package #
- resources:
- methods:
- MAS_Pro_Users: "method(MAS\Pro\Controller\AdminController->.*())"
- MAS_Pro_Location: "method(MAS\Pro\Controller\LocationController->.*())"
- roles:
- admin: []
- administrator: []
- acls:
- admin:
- methods:
- MAS_Pro_Users: DENY
- MAS_Pro_Location: GRANT
- administrator:
- methods:
- MAS_Pro_Users: GRANT
- MAS_Pro_Location: GRANT
- ##############################################################################################
- # #
- # Example Settings #
- # #
- # This file contains settings for various parts of the application. #
- # Copy this file to Settings.yaml, and adjust as necessary. #
- # #
- # Please refer to the default settings file(s) or the manuals for #
- # possible configuration options. #
- # #
- # It is good practice to not specify user name and password of the database
- # connection in this global Settings.yaml file. Rather specify them in the
- # settings of the respective context (Production / Development ...).
- # backendOptions:
- # host: '127.0.0.1' # adjust to your database host
- # On Windows, you might need to uncomment the following lines and specify
- # the location of the PHP binary manually.
- # core:
- # phpBinaryPathAndFilename: 'C:/path/to/php.exe'
- TYPO3:
- FLOW3:
- security:
- authentication:
- providers:
- DefaultProvider:
- providerClass: PersistedUsernamePasswordProvider
- requestPatterns:
- controlObjectName:MAS\Pro\Controller\.*
- entryPoint:
- webRedirect:
- uri: admin/login
- persistence:
- backendOptions:
- driver: 'pdo_mysql'
- dbname: 'MasPro' # adjust to your database name
- user: 'root' # adjust to your database user
- password: 'password' # adjust to your database password
- host: '127.0.0.1' # adjust to your database host
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement