backend.globaleaks.handlers.custodian

Module Contents

Classes

IdentityAccessRequestInstance This handler allow custodians to manage an identity access request by a receiver
IdentityAccessRequestsCollection This handler allow custodians to manage an identity access request by a receiver

Functions

serialize_identityaccessrequest(session, identityaccessrequest)
get_identityaccessrequest_list(session, tid)
get_identityaccessrequest(session, tid, identityaccessrequest_id)
db_create_identity_access_reply_notifications(session, itip, rtip, iar) Transaction for the creation of notifications related to identity access replies
update_identityaccessrequest(session, tid, user_id, identityaccessrequest_id, request)
backend.globaleaks.handlers.custodian.serialize_identityaccessrequest(session, identityaccessrequest)[source]
backend.globaleaks.handlers.custodian.get_identityaccessrequest_list(session, tid)[source]
backend.globaleaks.handlers.custodian.get_identityaccessrequest(session, tid, identityaccessrequest_id)[source]
backend.globaleaks.handlers.custodian.db_create_identity_access_reply_notifications(session, itip, rtip, iar)[source]

Transaction for the creation of notifications related to identity access replies :param session: An ORM session :param itip: A itip ID of the tip involved in the request :param iar: A identity access request model

backend.globaleaks.handlers.custodian.update_identityaccessrequest(session, tid, user_id, identityaccessrequest_id, request)[source]
class backend.globaleaks.handlers.custodian.IdentityAccessRequestInstance[source]

Bases: globaleaks.handlers.base.BaseHandler

This handler allow custodians to manage an identity access request by a receiver

check_roles = custodian[source]
get(self, identityaccessrequest_id)[source]
put(self, identityaccessrequest_id)[source]
class backend.globaleaks.handlers.custodian.IdentityAccessRequestsCollection[source]

Bases: globaleaks.handlers.base.BaseHandler

This handler allow custodians to manage an identity access request by a receiver

check_roles = custodian[source]
get(self)[source]