From 319c191459f24e6fb53d2bf2b837a52260160040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Tue, 10 Jan 2012 07:05:53 -0800 Subject: [PATCH] Feature #862: Fix error messages for non-authorized ACL operations --- src/rm/Request.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rm/Request.cc b/src/rm/Request.cc index 638ff9293d..4bec6190a8 100644 --- a/src/rm/Request.cc +++ b/src/rm/Request.cc @@ -82,6 +82,10 @@ bool Request::basic_authorization(int oid, object->unlock(); } + else + { + perms.obj_type = auth_object; + } AuthRequest ar(att.uid, att.gid);