mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Conference Center - Sessions: Adjust permissions to allow Admin to play recordings.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
//check permisions
|
||||
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
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -221,7 +221,7 @@ if (!class_exists('conference_centers')) {
|
||||
* download the recordings
|
||||
*/
|
||||
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
|
||||
session_cache_limiter('public');
|
||||
|
||||
Reference in New Issue
Block a user