Skip to content

Commit

Permalink
Initial directory structure for the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
seldon committed Sep 11, 2011
0 parents commit 1d9f432
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
*~
*.pyc
*.sqlite
.project
.pydevproject
.settings
Empty file added CHANGELOG.txt
Empty file.
Empty file added INSTALL.txt
Empty file.
Empty file added LICENSE.txt
Empty file.
Empty file added MANIFEST.in
Empty file.
8 changes: 8 additions & 0 deletions 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()``.
Empty file added flexi_auth/__init__.py
Empty file.
Empty file added flexi_auth/admin.py
Empty file.
Empty file added flexi_auth/models.py
Empty file.
10 changes: 10 additions & 0 deletions 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 !
Empty file added flexi_auth/tests/__init__.py
Empty file.
Empty file added flexi_auth/tests/models.py
Empty file.
6 changes: 6 additions & 0 deletions flexi_auth/tests/settings.py
@@ -0,0 +1,6 @@
INSTALLED_APPS = (
'flexi_auth',
'flexi_auth.tests',
# other dependencies go here
)

Empty file added flexi_auth/tests/tests.py
Empty file.
Empty file added flexi_auth/utils.py
Empty file.
Empty file added setup.py
Empty file.

0 comments on commit 1d9f432

Please sign in to comment.