]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: require MAY_SET_POOL to set pool_ns 11789/head
authorJohn Spray <john.spray@redhat.com>
Fri, 4 Nov 2016 15:50:26 +0000 (15:50 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 4 Nov 2016 15:50:26 +0000 (15:50 +0000)
commit1dfee37ad1c65f34f7fbc877e90c5b0a219125cd
tree9e85de626e7ac3996ad78d3247f33096f447ed83
parent82ee518c215bccc80f9cd23adbe4f3c2eee2f595
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>
src/mds/Server.cc