Skip to main content

How to add a policy in Moodle

How to create and configure Moodle policies so they can be used with the Consent Manager plugin

Updated this week

About

Consent Manager works with Moodle’s built-in policies tool. Policies must be configured in a specific way to be usable in external services with Consent Manager.

Note: For more details, refer to the official Moodle documentation on policies.


General policy settings

You can find these settings under Site administration > Users > Privacy and policies > Policy settings.

  • Site policy handler – Set this to "Policies (tool_policy)".

  • Site policy URL – This setting is ignored once tool_policy is selected.

  • Site policy URL for guests – This setting is ignored once tool_policy is selected.


Manage and create policies

Once tool_policy is enabled, you can manage and create policies under Site administration > Users > Privacy and policies > Manage policies.

All existing policies are listed here. You can also add new policies.

Settings of policies

All available policy settings are listed below. Only the settings that include a description have a direct effect on how the policy is used by Consent Manager. The remaining settings behave as standard Moodle policy options and do not directly affect Consent Manager.

  • Name

  • Type

    Set this to “Third parties policy”. Other policy types cannot be added to an external service.

  • User consent

  • Version

  • Summary

  • Full policy

  • Show policy before showing other policies

  • Agreement optional

  • Policy status

    Set this to “Enabled” to make the policy available when configuring an external service.

Did this answer your question?