Skip to content
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

Display user fullname and replace capability check in dialogue creation #136

Conversation

sumaiyamannan
Copy link
Contributor

@sumaiyamannan sumaiyamannan commented Sep 18, 2024

Hi,

This will fix the below issues:

  • Remove the requirement for students to have the moodle/course:viewparticipants' capability when creating a dialogue. Instead use the mod/dialogue:open capability check.
    This is a data protection issue for some as it means that this setting hinders the ability to disable Student access to the course participants page.

  • Display participants fullname depending on the receiver/viewed capability
    If the logged in user has 'viewfullnames' capabilities then they will see the user fullname as $CFG->alternativefullnameformat otherwise as $CFG->fullnamedisplay

  • Include students course name in the email notifications sent

Regards,

Sumaiya

@sumaiyamannan sumaiyamannan force-pushed the MOODLE_401_STABLE-fullname_capability_check branch 2 times, most recently from 8b3bac1 to a8acfc4 Compare September 18, 2024 23:59
…lity.

Replace core capability check with mod_dialogue 'open' capability in webservice call
@sumaiyamannan sumaiyamannan force-pushed the MOODLE_401_STABLE-fullname_capability_check branch from a8acfc4 to 2681679 Compare September 19, 2024 00:47
@danmarsden danmarsden merged commit 85eb852 into danmarsden:MOODLE_401_STABLE Sep 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants