]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: require MAY_SET_POOL to set pool_ns 12155/head
authorJohn Spray <john.spray@redhat.com>
Fri, 4 Nov 2016 15:50:26 +0000 (15:50 +0000)
committerLoic Dachary <ldachary@redhat.com>
Wed, 23 Nov 2016 08:05:21 +0000 (09:05 +0100)
commit05e5a5a2014c2aac6bf7a1d16dfe63792b76784e
tree8e2a704a38965ad155b1cecf486d71041178c569
parent427f357f0eed32c9ce17590ae9303a94e8b710e7
mds: require MAY_SET_POOL to set pool_ns

The intent of that flag is to enable admins to limit a client
to setting layouts to put objects within the OSD auth caps that
it has been given, so we should apply it to namespace as well
as pool ID.

Fixes: http://tracker.ceph.com/issues/17798
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 1dfee37ad1c65f34f7fbc877e90c5b0a219125cd)
src/mds/Server.cc