Skip to main content

A Collection of GDPR Tools for Alliance Auth

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aa_gdpr-0.7.1.tar.gz (12.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_gdpr-0.7.1-py3-none-any.whl (12.8 MB view details)

Uploaded Python 3

File details

Details for the file aa_gdpr-0.7.1.tar.gz.

File metadata

  • Download URL: aa_gdpr-0.7.1.tar.gz
  • Upload date:
  • Size: 12.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for aa_gdpr-0.7.1.tar.gz
Algorithm Hash digest
SHA256 f53a56bae55b3292b2c9a371f41e5baecdce46367d8fa022993afd0ca58fe19b
MD5 7fff16b4a7a2587a63a7d5ad65ca0cfd
BLAKE2b-256 b9d8031918f04ef3a07b1e354abbab452ebcd7ac5643e871b4c57e5c1b4612c8

See more details on using hashes here.

File details

Details for the file aa_gdpr-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: aa_gdpr-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 12.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for aa_gdpr-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 603d3d40ffca499868c475a07c1fe42b8f0aef04862e9c8e0cd7026a4a561c5d
MD5 31ead6cc8d4adf908f62311c85a926ea
BLAKE2b-256 f686c0eee0c16cbfe0cefa38aaae22612e71d59adcce0c4fd4c2446a1733d331

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page