Revision 8c3e6cb5

b/snf-astakos-app/astakos/im/functions.py
533 533
    project_id = get_project_id_of_application_id(project_application_id)
534 534
    return do_remove_membership(project_id, user, request_user)
535 535

  
536
def do_remove_membership_checks(project, membership):
536
def do_remove_membership_checks(project, membership, request_user=None):
537 537
    if request_user and \
538 538
        (not project.application.owner == request_user and \
539 539
            not request_user.is_superuser):

Also available in: Unified diff