Lines Matching full:access

134 		LOG_DBG("Access control for obj_inst /%d/%d already exist", obj_id, obj_inst_id);  in access_control_add()
148 LOG_ERR("Can not create access control instance - no more room: %u", obj_inst_id); in access_control_add()
197 LOG_DBG("Cannot remove access control for /%d/%d - not found", obj_id, obj_inst_id); in access_control_remove()
216 uint16_t access) in check_acl_table() argument
222 LOG_DBG("Access control for obj_inst /%d/%d not found", obj_id, obj_inst_id); in check_acl_table()
232 /* If server has access or if default exist */ in check_acl_table()
242 return (access_rights & access) == access; in check_acl_table()
245 /* Full access if server is the ac_owner and no acl is specified for that server */ in check_acl_table()
251 return (default_rights & access) == access; in check_acl_table()
259 return 0; /* Full access for bootstrap servers */ in access_control_check_access()
268 uint16_t access = operation_to_acperm(operation); in access_control_check_access() local
277 switch (access) { in access_control_check_access()
301 if (access == DISCOVER || access == WRITE_ATTR) { in access_control_check_access()
305 if (access != CREATE) { in access_control_check_access()
310 if (access == CREATE) { in access_control_check_access()
314 if (check_acl_table(obj_id, obj_inst_id, short_server_id, access)) { in access_control_check_access()
386 LOG_ERR("Can not create access control instance - " in ac_create()
399 LOG_ERR("Can not create access control instance - no more room: %u", obj_inst_id); in ac_create()
421 LOG_DBG("Create access control instance: %d", obj_inst_id); in ac_create()