function bbb_access_record in BigBlueButton 7
Check that the user is allowed to set meetings to record
File
- ./
bbb.module, line 183 - Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.
Code
function bbb_access_record($node) {
if (!bbb_is_meeting_type($node->type)) {
return FALSE;
}
// No bother to check for node access since this will be on edit/create pages.
if (user_access('record meetings') || user_access('administer big blue button')) {
return TRUE;
}
return FALSE;
}