Revision 621a1869 include/AclManager.h

View differences:

include/AclManager.h
261 261
     *    @return true if any rule grants permission
262 262
     */
263 263
    bool match_rules(
264
            long long user_req,
265
            long long resource_oid_req,
266
            long long resource_gid_req,
267
            long long resource_cid_req,
268
            long long resource_all_req,
269
            long long rights_req,
270
            long long individual_obj_type,
271
            long long group_obj_type,
272
            long long cluster_obj_type,
273
            multimap<long long, AclRule*> &rules);
264
            const long long                     &user_req,
265
            const long long                     &resource_oid_req,
266
            const long long                     &resource_gid_req,
267
            const set<long long>                &resource_cid_req,
268
            const long long                     &resource_all_req,
269
            const long long                     &rights_req,
270
            const long long                     &resource_oid_mask,
271
            const long long                     &resource_gid_mask,
272
            const long long                     &resource_cid_mask,
273
            const multimap<long long, AclRule*> &rules);
274 274

  
275 275
    /**
276 276
     *  Wrapper for match_rules. It will check if any rules in the temporary
......
290 290
     *    @return true if any rule grants permission
291 291
     */
292 292
    bool match_rules_wrapper(
293
            long long user_req,
294
            long long resource_oid_req,
295
            long long resource_gid_req,
296
            long long resource_cid_req,
297
            long long resource_all_req,
298
            long long rights_req,
299
            long long individual_obj_type,
300
            long long group_obj_type,
301
            long long cluster_obj_type,
302
            multimap<long long, AclRule*> &tmp_rules);
293
            const long long                     &user_req,
294
            const long long                     &resource_oid_req,
295
            const long long                     &resource_gid_req,
296
            const set<long long>                &resource_cid_req,
297
            const long long                     &resource_all_req,
298
            const long long                     &rights_req,
299
            const long long                     &individual_obj_type,
300
            const long long                     &group_obj_type,
301
            const long long                     &cluster_obj_type,
302
            const multimap<long long, AclRule*> &tmp_rules);
303 303

  
304 304
    /**
305 305
     * Deletes all rules that match the user mask

Also available in: Unified diff