diff options
author | Jason Madden <jason+github@nextthought.com> | 2017-09-13 09:17:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 09:17:34 -0500 |
commit | dde46cb714f32d40f3cc1ed70bf5653dcc6a7654 (patch) | |
tree | c04a86bdbd85ac19c8f2fc1ca693af4e18eb87b2 /src/zope/security/interfaces.py | |
parent | 54ee5cd67f94667b82180cf165a80ec38946b652 (diff) | |
parent | 9874e2d11728a68477d8270e22bc99f9aab5e894 (diff) | |
download | zope-security-dde46cb714f32d40f3cc1ed70bf5653dcc6a7654.tar.gz |
Merge pull request #41 from zopefoundation/issue40
Reach 100% coverage
Diffstat (limited to 'src/zope/security/interfaces.py')
-rw-r--r-- | src/zope/security/interfaces.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zope/security/interfaces.py b/src/zope/security/interfaces.py index 9831b29..1035b77 100644 --- a/src/zope/security/interfaces.py +++ b/src/zope/security/interfaces.py @@ -119,7 +119,7 @@ class IChecker(Interface): def check_setattr(ob, name): """Check whether attribute assignment is allowed. - + May raise Unauthorized or Forbidden. Returns no value. """ @@ -236,7 +236,7 @@ class IInteractionManagement(Interface): Does nothing if there is no interaction. """ - + class IPrincipal(Interface): """Principals are security artifacts that execute actions in a security environment. @@ -268,13 +268,13 @@ class IPrincipal(Interface): title=_("Description"), description=_("A detailed description of the principal."), required=False) - - + + class IGroupAwarePrincipal(IPrincipal): """Group aware principal interface Extends IPrincipal to contain group information. """ - + groups = Attribute( 'An iterable of groups to which the principal directly belongs') |