예제 #1
0
 def _find(*args):
     return EventPrincipal.find(EventPrincipal.event_new == event, EventPrincipal.has_management_role(*args))
예제 #2
0
 def _find(role):
     return EventPrincipal.find(EventPrincipal.event_new == event,
                                EventPrincipal.has_management_role(role, explicit=explicit))
예제 #3
0
 def _find(*args):
     return EventPrincipal.find(
         EventPrincipal.event == event,
         EventPrincipal.has_management_permission(*args))
예제 #4
0
 def _find(permission):
     return EventPrincipal.find(
         EventPrincipal.event == event,
         EventPrincipal.has_management_permission(permission,
                                                  explicit=explicit))
예제 #5
0
 def _find(*args):
     return EventPrincipal.find(EventPrincipal.event == event, EventPrincipal.has_management_permission(*args))
예제 #6
0
 def _find(permission):
     return EventPrincipal.find(EventPrincipal.event == event,
                                EventPrincipal.has_management_permission(permission, explicit=explicit))