diff --git a/src/appengine/handlers/corpora.py b/src/appengine/handlers/corpora.py index 613ef4055f..fa84c15b8a 100644 --- a/src/appengine/handlers/corpora.py +++ b/src/appengine/handlers/corpora.py @@ -29,9 +29,9 @@ class Handler(base_handler.Handler): @handler.unsupported_on_local_server @handler.get(handler.HTML) + @handler.oauth @handler.check_admin_access_if_oss_fuzz @handler.check_user_access(need_privileged_access=False) - @handler.oauth def get(self): """Handle a get request.""" data_bundles = list(data_types.DataBundle.query().order( diff --git a/src/appengine/handlers/fuzzers.py b/src/appengine/handlers/fuzzers.py index 4e1c296b54..93ca95bd06 100644 --- a/src/appengine/handlers/fuzzers.py +++ b/src/appengine/handlers/fuzzers.py @@ -40,9 +40,9 @@ class Handler(base_handler.Handler): """Manages fuzzers.""" @handler.get(handler.HTML) + @handler.oauth @handler.check_admin_access_if_oss_fuzz @handler.check_user_access(need_privileged_access=False) - @handler.oauth def get(self): """Handle a get request.""" fuzzer_logs_bucket = fuzzer_logs.get_bucket() diff --git a/src/appengine/handlers/jobs.py b/src/appengine/handlers/jobs.py index b068269c24..4531f9ab78 100644 --- a/src/appengine/handlers/jobs.py +++ b/src/appengine/handlers/jobs.py @@ -95,8 +95,8 @@ class Handler(base_handler.Handler): """View job handler.""" @handler.get(handler.HTML) - @handler.check_user_access(need_privileged_access=True) @handler.oauth + @handler.check_user_access(need_privileged_access=True) def get(self): """Handle a get request.""" templates = list(data_types.JobTemplate.query().order(