Revision 0659115f src/authm/AuthManager.cc

View differences:

src/authm/AuthManager.cc
80 80

  
81 81
    switch (ob)
82 82
    {
83
        case VM:    oss << "VM:" ; break;
84
        case HOST:  oss << "HOST:" ; break;
85
        case NET:   oss << "NET:" ; break;
86
        case IMAGE: oss << "IMAGE:" ; break;
87
        case USER:  oss << "USER:" ; break;
83
        case VM:       oss << "VM:" ; break;
84
        case HOST:     oss << "HOST:" ; break;
85
        case NET:      oss << "NET:" ; break;
86
        case IMAGE:    oss << "IMAGE:" ; break;
87
        case USER:     oss << "USER:" ; break;
88
        case CLUSTER:  oss << "CLUSTER:" ; break;
88 89
    }
89 90

  
90 91
    if (op == CREATE) //encode the ob_id, it is a template
......
123 124
        case MANAGE:
124 125
            oss << "MANAGE:" ;
125 126
            break;
127
            
128
        case INFO:
129
            oss << "INFO:" ;
130
            break;
126 131
    }
127 132

  
128 133
    oss << owner << ":" << pub;
......
166 171
            case MANAGE:
167 172
                auth = owner == uid;
168 173
                break;
174
                
175
            case INFO: // This is for completeness, as the only INFO existing 
176
                       // is for UserPool, and just oneadmin can see it
177
                break;
169 178
        }
170 179
    }
171 180

  

Also available in: Unified diff