Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. PulsahrUserBundleEntityUser:
  2. type: entity
  3. table: user
  4. repositoryClass: PulsahrUserBundleRepositoryUserRepository
  5. id:
  6. id:
  7. type: integer
  8. id: true
  9. generator:
  10. strategy: AUTO
  11. fields:
  12. username:
  13. type: string
  14. length: 255
  15. unique: true
  16. password:
  17. type: string
  18. length: 255
  19. roles:
  20. type: array
  21. nullable: true
  22. lifecycleCallbacks: { }
  23.  
  24. ScoreboardBundleEntityUser:
  25. type: entity
  26. table: user
  27. repositoryClass: ScoreboardBundleRepositoryUserRepository
  28. fields:
  29. email:
  30. type: string
  31. length: '255'
  32. config:
  33. type: integer
  34. name:
  35. type: string
  36. length: '127'
  37. avatar:
  38. type: string
  39. length: 255
  40. nullable: true
  41. graphColor:
  42. column: graph_color
  43. type: string
  44. length: 255
  45.  
  46.  
  47. manyToMany:
  48. races:
  49. targetEntity: Race
  50. mappedBy: users
  51.  
  52. oneToMany:
  53. scores:
  54. targetEntity: Score
  55. mappedBy: user
  56. lifecycleCallbacks: { }
  57.  
  58. security:
  59. encoders:
  60. ScoreboardBundleUser:
  61. algorithm: bcrypt
  62. cost: 4
  63.  
  64. role_hierarchy:
  65. ROLE_RACEADMIN: ROLE_USER
  66. ROLE_ADMIN: ROLE_RACEADMIN
  67. ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
  68.  
  69. providers:
  70. pulsahr_userbundle:
  71. entity:
  72. class: ScoreboardBundle:User
  73. property: username
  74.  
  75. firewalls:
  76. dev:
  77. pattern: ^/(_(profiler|wdt)|css|images|js)/
  78. security: false
  79.  
  80. pulsahr_user_security:
  81. anonymous: true
  82. form_login:
  83. login_path: pulsahr_user_login
  84. check_path: pulsahr_user_check
  85. provider: pulsahr_userbundle
  86. logout:
  87. path: pulsahr_user_logout
  88. target: pulsahr_user_login
  89. pattern: ^/
  90. remember_me:
  91. secret: '%secret%'
  92. access_control:
  93. - { path: ^/admin, role: ROLE_ADMIN }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement