Skip to content

Security: Vote on Routes #147

@rugbymauri

Description

@rugbymauri

if a route is secured by security-access-controls, all links generated should be checked against.

access-control sample:

    access_control:
         - { path: ^/admin/app_module_occasion_student, roles: [ ROLE_ADMIN, ROLE_TEACHER, ROLE_STUDENT_SUPERVISOR, ROLE_STUDENT ] }
         - { path: ^/admin, roles: [ ROLE_ADMIN ] }
         - { path: ^/, roles: [ ROLE_ADMIN, ROLE_TEACHER, ROLE_STUDENT_SUPERVISOR, ROLE_STUDENT ] }

for the role ROLE_STUDENT all links with the pattern ^/admin should no be genarated, except for ^/ and ^/admin/app_module_occasion_student

ralates to #146 and whatwedo/TableBundle#56

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions