diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-17 23:25:50 -0600 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-10-17 23:25:50 -0600 |
commit | 675fadc641ed6b521943c2c265bce70ac2c7994c (patch) | |
tree | 79ff38674b376b3e1b5ea7c081c5b5b005c6aa62 /ipalib/aci.py | |
parent | 83a662e87a2c6b27f5c35f6b0c70091b454ed267 (diff) | |
download | freeipa-675fadc641ed6b521943c2c265bce70ac2c7994c.tar.gz freeipa-675fadc641ed6b521943c2c265bce70ac2c7994c.tar.xz freeipa-675fadc641ed6b521943c2c265bce70ac2c7994c.zip |
Some PEP-257 and reStructuredText fixes in ipalib/aci.py, ipa_server/ipaldap.py
Diffstat (limited to 'ipalib/aci.py')
-rwxr-xr-x | ipalib/aci.py | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/ipalib/aci.py b/ipalib/aci.py index 17956812f..9dde767c0 100755 --- a/ipalib/aci.py +++ b/ipalib/aci.py @@ -43,7 +43,7 @@ class ACI: __actions = ["allow", "deny"] - __permissions = ["read", "write", "add", "delete", "search", "compare", + __permissions = ["read", "write", "add", "delete", "search", "compare", "selfwrite", "proxy", "all"] def __init__(self,acistr=None): @@ -71,9 +71,14 @@ class ACI: return self.export_to_string() def __getattr__(self, name): - """Backwards compatibility for the old ACI class. - The following extra attributes are available: - source_group, dest_group and attrs. + """ + Backward compatibility for the old ACI class. + + The following extra attributes are available: + + - source_group + - dest_group + - attrs """ if name == 'source_group': group = '' @@ -96,9 +101,13 @@ class ACI: raise AttributeError, "object has no attribute '%s'" % name def __setattr__(self, name, value): - """Backwards compatibility for the old ACI class. - The following extra attributes are available: - source_group, dest_group and attrs. + """ + Backward compatibility for the old ACI class. + + The following extra attributes are available: + - source_group + - dest_group + - attrs """ if name == 'source_group': self.__dict__['bindrule'] = 'groupdn="ldap:///%s"' % value |