-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recording visible to user #32
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are unclarified questions. I think this PR isn't complete.
@@ -16,12 +16,7 @@ | |||
$('#classNotStarted').show(); | |||
} | |||
|
|||
var isMeetingRecorded={isMeetingRecorded}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did u remove this?
This is the hint if the current running meeting is recorded or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes i forgot it the current meeting recording hint should be as it was before.By mistakenly in testing i removed it.
|
||
$bbbURL=$BBBHelper->joinURL($this->object); | ||
|
||
$my_tpl->setVariable("recordings", $this->buildRecordingUI()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should refactor the whole part. This is only copied fromt he "moderator" section. But in the moderator section, it will be checked, if int he currect BBB object recordings are allowed. This check is missing in your changed.
See:
BigBlueButton-Ilias-Plugin/classes/class.ilObjBigBlueButtonGUI.php
Lines 351 to 358 in 8fba2f4
if ($values["choose_recording"]){ | |
$my_tpl->setVariable("recordings", $this->buildRecordingUI()); | |
$my_tpl->setVariable("Headline_Recordings", $this->txt("Headline_Recordings")); | |
$my_tpl->setVariable("checkbox_record_meeting", $this->txt("checkbox_record_meeting")); | |
}else{ | |
$my_tpl->setVariable("CHOOSE_RECORDING_VISIBLE", "hidden"); | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes in the moderator section, it will be checked, if the current BBB object recordings are allowed. This check is missing in changes because user can't allow for it.Only moderator or admins can allow for the changes to that checkbox if they record Current BBB object or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's right. But it also controls if the recordings ui is visible or no. With your change, users can see the recording ui when recordings in the bbb object are disallowed. So i think is should be checked if recordings are allowed.
Yes it should be like this in if check condition |
Hello @xJuvi , |
Hey @pooja418 Kind regards |
Recordes session acees right
using visible and read permission now user can see the recording links.