Advertisement
Guest User

policy

a guest
May 21st, 2012
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # #
  2. # Security policy definition #
  3. # #
  4. # This file contains the security policy configuration for the #
  5. # Blog package #
  6.  
  7. resources:
  8. methods:
  9. MAS_Pro_Users: "method(MAS\Pro\Controller\AdminController->.*())"
  10. MAS_Pro_Location: "method(MAS\Pro\Controller\LocationController->.*())"
  11.  
  12. roles:
  13. admin: []
  14. administrator: []
  15. acls:
  16. admin:
  17. methods:
  18. MAS_Pro_Users: DENY
  19. MAS_Pro_Location: GRANT
  20. administrator:
  21. methods:
  22. MAS_Pro_Users: GRANT
  23. MAS_Pro_Location: GRANT
  24.  
  25.  
  26.  
  27. ##############################################################################################
  28. # #
  29. # Example Settings #
  30. # #
  31. # This file contains settings for various parts of the application. #
  32. # Copy this file to Settings.yaml, and adjust as necessary. #
  33. # #
  34. # Please refer to the default settings file(s) or the manuals for #
  35. # possible configuration options. #
  36. # #
  37. # It is good practice to not specify user name and password of the database
  38. # connection in this global Settings.yaml file. Rather specify them in the
  39. # settings of the respective context (Production / Development ...).
  40. # backendOptions:
  41. # host: '127.0.0.1' # adjust to your database host
  42. # On Windows, you might need to uncomment the following lines and specify
  43. # the location of the PHP binary manually.
  44. # core:
  45. # phpBinaryPathAndFilename: 'C:/path/to/php.exe'
  46.  
  47.  
  48. TYPO3:
  49. FLOW3:
  50. security:
  51. authentication:
  52. providers:
  53. DefaultProvider:
  54. providerClass: PersistedUsernamePasswordProvider
  55. requestPatterns:
  56. controlObjectName:MAS\Pro\Controller\.*
  57. entryPoint:
  58. webRedirect:
  59. uri: admin/login
  60.  
  61.  
  62.  
  63. persistence:
  64. backendOptions:
  65. driver: 'pdo_mysql'
  66. dbname: 'MasPro' # adjust to your database name
  67. user: 'root' # adjust to your database user
  68. password: 'password' # adjust to your database password
  69. host: '127.0.0.1' # adjust to your database host
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement