Skip to content
Browse files

Initial directory structure for the project.

  • Loading branch information...
0 parents commit 1d9f4326d4e73739fe948a7b5bd9bdc7fc260ea9 @seldon committed Sep 11, 2011
6 .gitignore
@@ -0,0 +1,6 @@
+*~
+*.pyc
+*.sqlite
+.project
+.pydevproject
+.settings
0 CHANGELOG.txt
No changes.
0 INSTALL.txt
No changes.
0 LICENSE.txt
No changes.
0 MANIFEST.in
No changes.
8 README.txt
@@ -0,0 +1,8 @@
+``django-flexi-auth`` is a simple, but flexible, role-based access-control engine for Django.
+
+Inspired to ``django-permissions``, it goes some steps further in various directions, providing advanced features such as:
+
+* context-sensitive roles (aka *parametric roles*, i.e. roles bound to one or more parameters);
+* per-instance (row-level) permissions (aka *object-permissions*);
+* dynamic permission checking: access-control policies are defined via a specific API on model classes, so they can be as flexible as needed by the application at hand;
+* a custom Django authentication backend: permissions can be checked in the "Django way", i.e. calling the method ``user.has_perm()``.
0 flexi_auth/__init__.py
No changes.
0 flexi_auth/admin.py
No changes.
0 flexi_auth/models.py
No changes.
10 flexi_auth/tests/README.txt
@@ -0,0 +1,10 @@
+For running tests, issue the command:
+
+{{{
+
+django-admin.py test --settings=flexi_auth.tests.settings
+
+}}}
+
+
+Be sure that the ``flexi_auth`` package is on your Python import path !
0 flexi_auth/tests/__init__.py
No changes.
0 flexi_auth/tests/models.py
No changes.
6 flexi_auth/tests/settings.py
@@ -0,0 +1,6 @@
+INSTALLED_APPS = (
+ 'flexi_auth',
+ 'flexi_auth.tests',
+ # other dependencies go here
+)
+
0 flexi_auth/tests/tests.py
No changes.
0 flexi_auth/utils.py
No changes.
0 setup.py
No changes.

0 comments on commit 1d9f432

Please sign in to comment.
Something went wrong with that request. Please try again.