[5280] in Moira
Re: moira - needs permission to view by account... [help.mit.edu #576154]
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Mar 4 14:41:52 2008
Message-Id: <200803041941.m24JfAo0021920@brad-majors.mit.edu>
To: computing-help@MIT.EDU
cc: moiradev@MIT.EDU
In-Reply-To: Message from computing-help@MIT.EDU
of "Tue, 04 Mar 2008 10:04:07 EST." <rt-3.4.2-576154-7762941-2065.13.5585727117243@help.mit.edu>
Date: Tue, 04 Mar 2008 14:41:10 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>
Hi,
I'm afraid we don't currently support querying by contact information or
billing contact via the moira client; since these fields in the database
are free-form strings with no input validation, making them return
trustworthy data (subject to vagaries of captalization, inconsistencies
in use of @mit, @mit.edu, or nothing for email addresses, etc.) would be
hard.
We do support searching by cost object, although this functionality is
restricted to those with global read permission on the database. We
can't easily open this up to all users as we don't currently have a
programmatic way of looking up what cost objects an authenticated user
is allowed to access; we could tie moira in with the Roles database to
add this functionality, but I'd consider it a low priority in light of
the network billing changes, which I believe will make the cost object
field in moira for hosts obsolete.
I looked at the RT ticket for what cost object was under discussion, and
ran the query requested, the results of which are included below.
Garry
AUDIO-VISUAL-1.MIT.EDU
AUDIO-VISUAL-10.MIT.EDU
AUDIO-VISUAL-11.MIT.EDU
AUDIO-VISUAL-12.MIT.EDU
AUDIO-VISUAL-14.MIT.EDU
AUDIO-VISUAL-17.MIT.EDU
AUDIO-VISUAL-2.MIT.EDU
AUDIO-VISUAL-3.MIT.EDU
AUDIO-VISUAL-4.MIT.EDU
AUDIO-VISUAL-5.MIT.EDU
AUDIO-VISUAL-6.MIT.EDU
AUDIO-VISUAL-8.MIT.EDU
AV-1-190.MIT.EDU
AV-4-145.MIT.EDU
AV-4-149.MIT.EDU
AV-4-153.MIT.EDU
AV-4-270.MIT.EDU
AV-4-303.MIT.EDU
AV-4-331.MIT.EDU
AV-54-100.MIT.EDU
AV-56-614.MIT.EDU
AV-6-120-A.MIT.EDU
AV-6-120-B.MIT.EDU
AV-6C-207.MIT.EDU
AV-6C-442.MIT.EDU
AV-8-119.MIT.EDU
AV-8-205.MIT.EDU
AV-BROADWAY1.MIT.EDU
AV-BROADWAY2.MIT.EDU
AV-CEO.MIT.EDU
AV-E51-145.MIT.EDU
AV-E51-149.MIT.EDU
AV-E51-151.MIT.EDU
AV-EXTRON-1-132.MIT.EDU
AV-EXTRON-1-134.MIT.EDU
AV-EXTRON-1-135.MIT.EDU
AV-EXTRON-1-246.MIT.EDU
AV-EXTRON-E52-175.MIT.EDU
AV-EXTRON16-160.MIT.EDU
AV-EXTRON5-134.MIT.EDU
AV-EXTRON5-217.MIT.EDU
AV-KIRSCH.MIT.EDU
AV-SIGNAGE-TEST.MIT.EDU
AV-VISTA.MIT.EDU
AVCORRIDOR3-2.MIT.EDU
AVCORRIDOR3-3.MIT.EDU
AVEXTRON-6C-207.MIT.EDU
AVLAP24.MIT.EDU
AVLAP25.MIT.EDU
AVLAP26.MIT.EDU
AVLAP27.MIT.EDU
AVLAP9.MIT.EDU
AVLASER.MIT.EDU
AVMAC.MIT.EDU
AVMAC1.MIT.EDU
AVPCSERVER.MIT.EDU
AVSTOCKCLERK.MIT.EDU
AVWEBSERVER.MIT.EDU
AVWORKSHOP.MIT.EDU
DAVE-B.MIT.EDU
E51SAV143.MIT.EDU
E51SAV143B.MIT.EDU
OLD-CONFERENCES.MIT.EDU
OLD-REGISTRATIONS.MIT.EDU
PROKEDS1.MIT.EDU
PROSERVICES.MIT.EDU