Conference Center - Sessions: Adjust permissions to allow Admin to play recordings.
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
//check permisions
|
//check permisions
|
||||||
require_once "resources/check_auth.php";
|
require_once "resources/check_auth.php";
|
||||||
if (permission_exists('call_recording_view')) {
|
if (permission_exists('call_recording_view') || permission_exists('conference_session_play')) {
|
||||||
//access granted
|
//access granted
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ if (!class_exists('conference_centers')) {
|
|||||||
* download the recordings
|
* download the recordings
|
||||||
*/
|
*/
|
||||||
public function download() {
|
public function download() {
|
||||||
if (permission_exists('call_recording_play') || permission_exists('call_recording_download')) {
|
if (permission_exists('conference_session_play') || permission_exists('call_recording_play') || permission_exists('call_recording_download')) {
|
||||||
|
|
||||||
//cache limiter
|
//cache limiter
|
||||||
session_cache_limiter('public');
|
session_cache_limiter('public');
|
||||||
|
|||||||
Reference in New Issue
Block a user