def unlisted_addons_reviewer_required(f):
 @login_required
 @functools.wraps(f)
 def wrapper(request, *args, **kw):
  if acl.check_unlisted_addons_reviewer(request):
   return f(request, *args, **kw)
  raise PermissionDenied
 return wrapper

def unlisted_addons_reviewer_required ( f ) : @ login_required @ functools . wraps ( f ) def wrapper ( request , * args , ** kw ) : if acl . check_unlisted_addons_reviewer ( request ) : return f ( request , * args , ** kw ) raise PermissionDenied return wrapper
require an "unlisted addons" reviewer user .