Browse Source

Permission providers initial commit.

Rafał Pitoń 11 years ago
parent
commit
45e31b7484

+ 3 - 0
docs/developers/acls.rst

@@ -0,0 +1,3 @@
+====
+ACLs
+====

+ 1 - 0
docs/developers/index.rst

@@ -45,3 +45,4 @@ Following references cover everything you want to know about writing your own ap
    thread_store
    validators
    auth
+   acls

+ 1 - 0
docs/index.rst

@@ -34,3 +34,4 @@ Table of Contents
    developers/thread_store
    developers/validators
    developers/auth
+   developers/acls

+ 4 - 0
misago/conf/defaults.py

@@ -126,6 +126,10 @@ TEMPLATE_CONTEXT_PROCESSORS = (
     'misago.conf.context_processors.settings',
 )
 
+MISAGO_PERMISSION_PROVIDERS = (
+    'misago.forums.permissions',
+)
+
 # Register Misago directories
 
 LOCALE_PATHS = (

+ 0 - 0
misago/forums/permissions.py