You are here

function opigno_statistics_overview_access in Opigno 7

Return true or false if the user can access to the statistics overview page.

1 string reference to 'opigno_statistics_overview_access'
opigno_menu in ./opigno.module
Implements hook_menu().

File

./opigno.module, line 774
Contains all hook_implementations and module specific API.

Code

function opigno_statistics_overview_access() {
  return user_access('view own courses classes statistics') || user_access('access opigno statistics pages') || user_access('view opigno global statistics');
}