summaryrefslogtreecommitdiffstats
path: root/ipalib/aci.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix two bugs: one in parsing the ACI and one in comparing two ACIsRob Crittenden2009-11-251-4/+4
| | | | | | | | | | The parsing bug was looking for the string 'version' expecting to find the ACI version. This blew up with the attribute nsosversion. Use the string 'version 3.0' instead. The comparison bug appeared if neither ACI had a targetattr attribute. It was trying to create a set out of a None which is illegal. If an ACI doesn't have any targetattrs then return () instead.
* Fix aci plugin, enhance aci parsing capabilities, add user group supportRob Crittenden2009-09-281-14/+18
| | | | | | | | | | | | - The aci plugin didn't quite work with the new ldap2 backend. - We already walk through the target part of the ACI syntax so skip that in the regex altogether. This now lets us handle all current ACIs in IPA (some used to be ignored/skipped) - Add support for user groups so one can do v1-style delegation (group A can write attributes x,y,z in group B). It is actually quite a lot more flexible than that but you get the idea) - Improve error messages in the aci library - Add a bit of documentation to the aci plugin
* Clean up additional issues discovered with pylint and pycheckerRob Crittenden2009-08-201-1/+1
|
* Fix DS ACI parsing.Pavel Zuna2009-06-021-5/+5
|
* Update the ACI class to be more robust and the beginnings of an ACI pluginRob Crittenden2009-03-181-87/+164
| | | | | | The ACI plugin is really meant for developers to help manage the ACIs. It may or may not be shipped. If it is it will be disabled by default. It is very much a shoot-in-foot problem waiting to happen.
* Some PEP-257 and reStructuredText fixes in ipalib/aci.py, ipa_server/ipaldap.pyJason Gerard DeRose2008-10-171-7/+16
|
* Stub out delegationsRob Crittenden2008-10-111-0/+236
Add ACI class