(context, perm)
return {"url": None}
Renders a html link to the approve view of the given permission request.
    Returns no content if the request-user has no permission to delete foreign
    permissions.
Renders a html link to the approve view of the given permission request.
    Returns no content if the request-user has no permission to delete foreign
    permissions.
Renders a html link to the approve view of the given permission request . Returns no content if the request - user has no permission to delete foreign permissions .
def permission_request_approve_link(context, perm):
    """
    Renders a html link to the approve view of the given permission request.
    Returns no content if the request-user has no permission to delete foreign
    permissions.
    """
    user = context["request"].user
    if user.is_authenticated:
        if user.has_perm("authority.approve_permission_requests"):
            return base_link(context, perm, "authority-approve-permission-request")
    return {"url": None}
def permission_request_approve_link ( context , perm ) : user = context [ "request" ] . user if user . is_authenticated : if user . has_perm ( "authority.approve_permission_requests" ) : return base_link ( context , perm , "authority-approve-permission-request" ) return { "url" : None }