Update yaml

pull/2487/head
jmontoyaa 7 years ago
parent 7192fc5133
commit a152cc0afa
  1. 11
      src/CourseBundle/Resources/config/services.yml

@ -45,12 +45,11 @@ services:
# Group voter, checks if a user has permissions to do actions
chamilo_course.security.authorization.voter.group_voter:
class: Chamilo\CoreBundle\Security\Authorization\Voter\GroupVoter
arguments: [
'@doctrine.orm.entity_manager',
'@chamilo_core.entity.manager.course_manager',
'@chamilo_course.manager.group',
'@service_container'
]
arguments:
- '@doctrine.orm.entity_manager'
- '@chamilo_core.entity.manager.course_manager'
- '@chamilo_course.manager.group'
- '@service_container'
public: false
tags:
- {name: security.voter}

Loading…
Cancel
Save