Changeset 16b7515 for asadb/settings.py


Ignore:
Timestamp:
Aug 7, 2011, 4:20:51 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
2dd6045
Parents:
f27faaf
git-author:
Alex Dehnert <adehnert@…> (08/07/11 04:20:32)
git-committer:
Alex Dehnert <adehnert@…> (08/07/11 04:20:51)
Message:

Add infrastructure for per-group authz

This adds a PerGroupAuthz? authentication backend (which is a no-op
for the authentication and only bothers with authorization).
OfficerRoles? can specify users whose permissions they grant to the
holders of that role when working with that group. Those users can
then be granted the relevant permissions in the usual way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/settings.py

    r7444bbe r16b7515  
    7777
    7878AUTHENTICATION_BACKENDS = [
     79    'groups.models.PerGroupAuthz',
    7980    'django.contrib.auth.backends.ModelBackend',
    8081]
Note: See TracChangeset for help on using the changeset viewer.