humanmade / altis-consent

Enhanced user privacy and consent controls for Altis.
GNU General Public License v3.0
5 stars 2 forks source link

Document how to disable consent module #69

Closed kadamwhite closed 3 years ago

kadamwhite commented 3 years ago

If a site running on Altis uses an existing, alternative consent system, right now I do not see any documentation about how to disable this module.

It does appear that filtering altis.consent.should_display_banner will prevent the output of JS and HTML. Is there a way to do this using composer.json as well? That seems to be the standard.

roborourke commented 3 years ago

We do need to document the module config, the simplest option for you right now @kadamwhite is to set the following config:

{
    "extra": {
        "altis": {
            "modules": {
                "privacy": {
                    "consent": false
                }
            }
        }
    }
}

You can also switch it off in the site admin settings.