Added missing method "effective_principals" to security manager interface
authorThierry Florac <thierry.florac@onf.fr>
Wed, 12 Jul 2017 12:32:29 +0200
changeset 82 ee5bacdecac6
parent 81 d89f0554e6f5
child 83 ddcb2ea9392b
Added missing method "effective_principals" to security manager interface
src/pyams_security/interfaces/__init__.py
--- a/src/pyams_security/interfaces/__init__.py	Wed Jun 07 10:07:10 2017 +0200
+++ b/src/pyams_security/interfaces/__init__.py	Wed Jul 12 12:32:29 2017 +0200
@@ -610,6 +610,9 @@
                                     value_type=TextLine(),
                                     default=())
 
+    def effective_principals(self, principal_id, request=None, context=None):
+        """Get effective principals of given principal for context"""
+
     def get_plugin(self, name):
         """Get plug-in matching given name"""