code: def superuser_required(f):
      
      @functools.wraps(f)
      @login_required
      def wrapped(*args, **kwargs):
          if not (current_user.is_authenticated() and current_user.superuser):
              abort(403)
          return f(*args, **kwargs)
      return wrapped
docs: Requires the requestor to be a super user.