Revision 0a132883 src/rm/Request.cc

View differences:

src/rm/Request.cc
69 69

  
70 70
        if ( object == 0 )
71 71
        {
72
            failure_response(NO_EXISTS, get_error("USER",oid)); //TODO
72
            failure_response(NO_EXISTS, get_error(object_name(auth_object),oid)); 
73 73
            return false;
74 74
        }
75 75

  
......
86 86
   if (UserPool::authorize(ar) == -1)
87 87
   {
88 88
        failure_response(AUTHORIZATION, //TODO
89
                 authorization_error("INFO","USER",oid,-1));
89
                 authorization_error("INFO",object_name(auth_object),oid,-1));
90 90

  
91 91
        return false;
92 92
    }

Also available in: Unified diff