Skip to content

Commit

Permalink
Merge pull request #21517 from rjfd/wip-dashboard-fix-rbd-auth
Browse files Browse the repository at this point in the history
mgr/dashboard: rbd: add @AuthRequired to snapshots controller

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
  • Loading branch information
LenzGr committed Apr 20, 2018
2 parents 6d07530 + 096f309 commit 564cac3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pybind/mgr/dashboard/controllers/rbd.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ def _copy(d_ioctx):


@ApiController('block/image/:pool_name/:image_name/snap')
@AuthRequired()
class RbdSnapshot(RESTController):

@RbdTask('snap/create',
Expand Down

0 comments on commit 564cac3

Please sign in to comment.