Security Standards - Development

We should create an AppSec Program. Start by working through these resources:

Django

Remove the admin app. To replace:

from django.contrib.admin.views.decorators import staff_member_required

Do the following:

from django.contrib.auth.decorators import user_passes_test

@user_passes_test(lambda u: u.is_staff)
def report_consent_user_download(request, pk):