Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aa-gdpr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aa-gdpr

A Collection of GDPR Tools for Alliance Auth

  • 0.4.3
  • Source
  • PyPI
  • Socket score

Maintainers
1

AA-GDPR

A Collection of overrides and resources to help Alliance Auth installs meet GDPR legislation.

This Repository cannot guarantee your Legal requirements but aims to reduce the technical burden on Web/System Administrators

Current Features

Overrides Alliance Auth default resource bundles to use staticfile delivery.

Local staticfile delivery of resources to avoid using CDNs

Planned Features

  • Consent Management
  • Terms of Use Management
  • Data Transparency
  • Right to be Forgotten Requests

Installation

Step One - Install

Install the app with your venv active

pip install aa-gdpr

Step Two - Configure

  • Add the following lines directly before your INSTALLED_APPS list in your projects local.py
INSTALLED_APPS.insert(0, 'aagdpr')
INSTALLED_APPS.remove('allianceauth.theme.darkly')
INSTALLED_APPS.remove('allianceauth.theme.flatly')
INSTALLED_APPS.remove('allianceauth.theme.materia')
  • Add the following to INSTALLED_APPS
'aagdpr.theme.bootstrap',
'aagdpr.theme.darkly',
'aagdpr.theme.flatly',
'aagdpr.theme.materia',
  • Add the below lines to your local.py settings file
## Settings for AA-GDPR ##

# Instruct third party apps to avoid CDNs
AVOID_CDN = True
DEFAULT_THEME = "aagdpr.theme.flatly.auth_hooks.FlatlyThemeHook"
DEFAULT_THEME_DARK = "aagdpr.theme.darkly.auth_hooks.DarklyThemeHook"  # Legacy AAv3 user.profile.night_mode=1

Step Three - Update Project

  • Run migrations python manage.py migrate (There should be none yet)
  • Gather your staticfiles python manage.py collectstatic

Settings

AVOID_CDN - Will attempt to instruct third party applications to attempt to load CSS JS and Fonts from staticfiles, Default True.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc