code: 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}
docs: 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.