moodle/admin/tool/policy
David Mudrák 362ae1b443 MDL-63013 tool_policy: Change acceptance flow for policies with own page
The idea of the patch is to check the list of policies that are shown
before and on the consent page. If that list contains a policy that is
supposed to be accepted on its own page, the existing flow is
interrupted and the user is redirected to a view.php to display that
particular policy.

The view template for such a policy contains a button for getting the
user agreement. When pressed, the policy is marked as accepted and we
can go to start again.

To make this working during the signup, we need to extend the existing
logic and start tracking which particular policies the visitor accepted
prior reaching the signup form. Similarly, we need to start track which
particular policies were displayed and use that list when evaluating
which policies were unchecked on the consent page.
2018-09-19 09:55:42 +02:00
..
amd MDL-63094 tool_policy: Fix race condition in modal display 2018-08-22 10:23:30 +08:00
classes MDL-63013 tool_policy: Change acceptance flow for policies with own page 2018-09-19 09:55:42 +02:00
db MDL-63013 tool_policy: Policy agreement style can be defined now 2018-09-19 09:55:42 +02:00
lang/en MDL-63013 tool_policy: Policy agreement style can be defined now 2018-09-19 09:55:42 +02:00
pix NOBUG: Fixed SVG browser compatibility 2018-04-20 23:53:52 +02:00
templates MDL-63013 tool_policy: Change acceptance flow for policies with own page 2018-09-19 09:55:42 +02:00
tests MDL-62342 privacy: Fix strings used in the consent on behalf modal 2018-09-03 12:53:19 +08:00
accept.php MDL-62062 tool_policy: Let manager/dpo withdraw consent to policies 2018-05-07 10:11:13 +02:00
acceptances.php
editpolicydoc.php
index.php MDL-63013 tool_policy: Change acceptance flow for policies with own page 2018-09-19 09:55:42 +02:00
lib.php MDL-63013 tool_policy: Policy agreement style can be defined now 2018-09-19 09:55:42 +02:00
managedocs.php
readme_moodle.txt MDL-61866 tool_policy: Add readme_moodle.txt file and reorganise styles.css 2018-04-16 11:30:14 +08:00
settings.php
styles.css MDL-63094 tool_policy: Fix the cookie banner to the bottom 2018-08-22 11:00:08 +08:00
thirdpartylibs.xml MDL-61864 tool_policy: display policies to guests and users 2018-04-16 11:30:13 +08:00
user.php MDL-62418 tool_policy: Display blocks in user policies and agreements 2018-05-14 14:18:10 +08:00
version.php MDL-63013 tool_policy: Policy agreement style can be defined now 2018-09-19 09:55:42 +02:00
view.php MDL-61864 tool_policy: display policies to guests and users 2018-04-16 11:30:13 +08:00
viewall.php MDL-62341 privacy: Add link to previous page in viewall policies page 2018-08-13 07:52:09 +08:00