Google Groups Home
Help | Sign in
ANNOUNCE: Spiff Guard 1.9.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Samuel  
View profile  
 More options Dec 2 2007, 5:09 pm
From: Samuel <knipk...@gmail.com>
Date: Sun, 2 Dec 2007 14:09:02 -0800 (PST)
Local: Sun, Dec 2 2007 5:09 pm
Subject: ANNOUNCE: Spiff Guard 1.9.0
Introduction
------------
Spiff Guard is a library for implementing access lists in Python. It
provides a clean and simple API and was implemented with performance
and security in mind. It was originally inspired by phpGACL (http://
phpgacl.sourceforge.net/), but features an API that is significantly
cleaner and easier to use.

Spiff Guard is free software and distributed under the GNU GPLv2.

Changes since 1.4.0:
---------------------
The bad:
 o This release breaks API, hard.

The good:
 o Spiff Guard is now type-aware. That means that you can create your
   own types and store them in the database; Spiff Guard will create
   an instance of the same type when you retrieve the object later.
 o Sections are now obsolete - instead, just use types as a section.
 o Spiff Guard makes now extensive use of caching.
 o The API is now a lot easier to use - if that is even possible.

Example Code:
--------------
class Website(ResourceGroup):
    pass

guard   = Guard(sqlalchemy_dbh)
group   = ResourceGroup("My Group")
user    = Resource("My User")
website = Website("My Website")
view    = Action("View")
write   = Action("Edit")
guard.grant(group, view, website)
guard.grant(user,  edit, website)
if guard.has_permission(user, view, website):
    print 'Permission granted.'

Dependencies
-------------
sqlalchemy (http://www.sqlalchemy.org/)

Download
---------
Tarball:
http://pypi.python.org/packages/source/S/Spiff%20Guard/Spiff%20Guard-...

SVN:
svn checkout http://spiff.googlecode.com/svn/trunk/libs/Guard/

Links:
-------
Documentation: http://spiff.googlecode.com/svn/trunk/libs/Guard/README
Example: http://spiff.googlecode.com/svn/trunk/libs/Guard/tests/DBTest.py
Spiff project page: http://code.google.com/p/spiff/
Mailing list: http://groups.google.com/group/spiff-devel
Bug tracker: http://code.google.com/p/spiff/issues/list
Browse the source: http://spiff.googlecode.com/svn/trunk/libs/Guard/

If you have any questions, please do not hesitate to ask or file a
bug.

-Samuel


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google