]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs: disallow removing root_squash via "fs authorize" cmd 58543/head
authorRishabh Dave <ridave@redhat.com>
Thu, 11 Jul 2024 18:28:22 +0000 (23:58 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 12 Jul 2024 04:29:45 +0000 (09:59 +0530)
commitc6e2c97c6e9cbf1e37c53d5d490d65091205928c
treea8d9723c40699411b7ea4234106990ef79a20fa5
parente392142c65c4186e4ef7365acf58001c512b769a
cephfs: disallow removing root_squash via "fs authorize" cmd

Removing root_squasn from MDS auth caps through "fs authorize" command
should not be allowed as this command it not allowed to/meant for
removing caps.

Fixes: https://tracker.ceph.com/issues/65808
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_admin.py
src/mds/MDSAuthCaps.cc