From 096f30964cf92dfddea7e19f30722be4a5237957 Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Thu, 19 Apr 2018 10:27:07 +0100 Subject: [PATCH] mgr/dashboard: rbd: add @AuthRequired to snapshots controller Signed-off-by: Ricardo Dias --- src/pybind/mgr/dashboard/controllers/rbd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/dashboard/controllers/rbd.py b/src/pybind/mgr/dashboard/controllers/rbd.py index f7e2a02393d24..0917a13dd792a 100644 --- a/src/pybind/mgr/dashboard/controllers/rbd.py +++ b/src/pybind/mgr/dashboard/controllers/rbd.py @@ -352,6 +352,7 @@ class Rbd(RESTController): @ApiController('block/image/:pool_name/:image_name/snap') +@AuthRequired() class RbdSnapshot(RESTController): @RbdTask('snap/create', -- 2.39.5