-
Bug
-
Resolution: Fixed
-
Critical
-
3.4.2, 3.5
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
MDL-62670-master -
-
GDPR Followup Sprint 1
The page ... https://xxx/admin/tool/policy/viewall.php (Policy-Link by the moodle-app) is empty.
The browser window is empty, if you are not logged in. But you have to confirm it bevor and also it has to be able to see it if you are not logged in (footerlink).
To reproduce this error, there must exist only one active policy for "Authenticated users". In that case, currently:
- The active policy is displayed only when accessing to the https://xxx/admin/tool/policy/viewall.php page with an authenticated user.
- When accessing as guest, the viewall.php page is empty.
For fixing this:
- The viewall.php page must display always all the active policies, regardless of the user accessing it. This page is used from the mobile app before the user agrees the policies, so all them have to be shown (even as guest), to guarantee the user reads them from the Moodle app.
- The "Policies" must be displayed on the footer only when there is at least one active policy. If there are not policies, a message should appear to let the user know that this site has no active policies.