<?php
require __DIR__ . '/../config/bootstrap.php';
require_once BASE_PATH . '/app/helpers/conference_scope.php';
require_once BASE_PATH . '/app/helpers/access_scope.php';

$roles = ['super_admin','org_admin','conference_chair','organizer','author','reviewer'];

foreach ($roles as $role) {
    $_SESSION = [
        'user_id' => 999,
        'email' => "seed.$role@easychair.test",
        'role' => $role,
        'user_role' => $role,
        'conference_role' => $role,
        'org_id' => 1,
        'conference_id' => 1,
    ];

    echo str_pad($role, 20) . " => " . ec_access_landing_for_role($role) . PHP_EOL;
}
