<?php
    // Droits par profil
    define("ACCESS_WHITE", array(
        "page" => array(
            "login",
            "login-salarie",
            "login-control",
            "spash-screen",
            "maintenance"
        ),
        "json" => array(
            "login",
            "logout",
        ),
        "submit" => array(
            "login",
            "logout"
        ))
    );

    define("ACCESS_SALARIES", array(
        "page" => array(
            "list-events"
        ),
        "json" => array(
            "list-events",
            "check-control-emargement"
        ),
        "submit" => array(
            "emargement"
        ))
    );

    define("ACCESS_CONTROLEURS", array(
        "page" => array(
            "validateQRCode"
        ),
        "json" => array(
        ),
        "submit" => array(
            "emargement"
        ))
    );

    define("ACCESS_SOCIAL", array(
        "page" => array(
            "sociale-check-salarie"
        ),
        "json" => array(
        ),
        "submit" => array(
            "sociale-check-salarie"
        ))
    );
