| 1 | <?php |
||
| 11 | class DashboardAccess |
||
| 12 | { |
||
| 13 | |||
| 14 | private static $viewRoles = []; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * |
||
| 18 | * @param string $dashboardName |
||
| 19 | * @return boolean |
||
| 20 | */ |
||
| 21 | public static function userHasAccess($dashboardName) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * |
||
| 45 | * @param string $dashboardName |
||
| 46 | * @return array |
||
| 47 | */ |
||
| 48 | private static function loadAllowRoles($dashboardName) |
||
| 72 | } |
||
| 73 |