Home | Trees | Index | Help |
|
---|
Package g4ds :: Module authorisationcontroller :: Class AuthorisationController |
|
Method Summary | |
---|---|
Only initialises the matrix. | |
printMatrix(self)
| |
Loads the permissions information from files and databases into the memory. | |
Checks the given action against the available rules. |
Method Details |
---|
__init__(self)
|
recalculateMatrix(self)Loads the permissions information from files and databases into the memory. Creates the permission matrix. The matrix itself is implemented using nested dictionaries. |
validate(self, actor, target, action)Checks the given action against the available rules. Picks up the value for the couple of the given actor and target and iterates this ordered list and compares each item against the given action. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |