Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PulsahrUserBundleEntityUser:
- type: entity
- table: user
- repositoryClass: PulsahrUserBundleRepositoryUserRepository
- id:
- id:
- type: integer
- id: true
- generator:
- strategy: AUTO
- fields:
- username:
- type: string
- length: 255
- unique: true
- password:
- type: string
- length: 255
- roles:
- type: array
- nullable: true
- lifecycleCallbacks: { }
- ScoreboardBundleEntityUser:
- type: entity
- table: user
- repositoryClass: ScoreboardBundleRepositoryUserRepository
- fields:
- email:
- type: string
- length: '255'
- config:
- type: integer
- name:
- type: string
- length: '127'
- avatar:
- type: string
- length: 255
- nullable: true
- graphColor:
- column: graph_color
- type: string
- length: 255
- manyToMany:
- races:
- targetEntity: Race
- mappedBy: users
- oneToMany:
- scores:
- targetEntity: Score
- mappedBy: user
- lifecycleCallbacks: { }
- security:
- encoders:
- ScoreboardBundleUser:
- algorithm: bcrypt
- cost: 4
- role_hierarchy:
- ROLE_RACEADMIN: ROLE_USER
- ROLE_ADMIN: ROLE_RACEADMIN
- ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
- providers:
- pulsahr_userbundle:
- entity:
- class: ScoreboardBundle:User
- property: username
- firewalls:
- dev:
- pattern: ^/(_(profiler|wdt)|css|images|js)/
- security: false
- pulsahr_user_security:
- anonymous: true
- form_login:
- login_path: pulsahr_user_login
- check_path: pulsahr_user_check
- provider: pulsahr_userbundle
- logout:
- path: pulsahr_user_logout
- target: pulsahr_user_login
- pattern: ^/
- remember_me:
- secret: '%secret%'
- access_control:
- - { path: ^/admin, role: ROLE_ADMIN }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement