|
|
|
@ -14,22 +14,23 @@ security: |
|
|
|
|
class: Chamilo\CoreBundle\Entity\User |
|
|
|
|
property: username |
|
|
|
|
role_hierarchy: |
|
|
|
|
ROLE_STUDENT: [ROLE_USER, ROLE_STUDENT] |
|
|
|
|
ROLE_ADMIN: |
|
|
|
|
- ROLE_SUPER_ADMIN # Admin that install the platform |
|
|
|
|
- ROLE_USER |
|
|
|
|
- ROLE_QUESTION_MANAGER |
|
|
|
|
- ROLE_SESSION_MANAGER |
|
|
|
|
- ROLE_TEACHER |
|
|
|
|
- ROLE_CURRENT_COURSE_TEACHER |
|
|
|
|
- ROLE_CURRENT_COURSE_SESSION_TEACHER |
|
|
|
|
- ROLE_CURRENT_COURSE_GROUP_TEACHER |
|
|
|
|
- ROLE_USER |
|
|
|
|
ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] |
|
|
|
|
ROLE_GLOBAL_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] |
|
|
|
|
ROLE_RRHH: [ROLE_TEACHER, ROLE_ALLOWED_TO_SWITCH] |
|
|
|
|
ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] # Admin that can log in as another user. |
|
|
|
|
ROLE_GLOBAL_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH] # The user that installed the platform. |
|
|
|
|
ROLE_TEACHER: [ROLE_STUDENT] |
|
|
|
|
ROLE_RRHH: [ROLE_TEACHER, ROLE_ALLOWED_TO_SWITCH] |
|
|
|
|
ROLE_QUESTION_MANAGER: [ROLE_STUDENT, ROLE_QUESTION_MANAGER] |
|
|
|
|
ROLE_SESSION_MANAGER: [ROLE_STUDENT, ROLE_SESSION_MANAGER, ROLE_ALLOWED_TO_SWITCH] |
|
|
|
|
ROLE_STUDENT: [ROLE_STUDENT] |
|
|
|
|
ROLE_STUDENT_BOSS: [ROLE_STUDENT] |
|
|
|
|
|
|
|
|
|
ROLE_CURRENT_COURSE_STUDENT: [ROLE_CURRENT_COURSE_STUDENT] # Set in the CourseListener |
|
|
|
|
ROLE_CURRENT_COURSE_TEACHER: [ROLE_CURRENT_COURSE_TEACHER, ROLE_CURRENT_COURSE_STUDENT] # Set in the course listener |
|
|
|
|
ROLE_CURRENT_COURSE_GROUP_STUDENT: [ROLE_CURRENT_COURSE_GROUP_STUDENT] # Set in the CourseListener |
|
|
|
|