[mapguide-internals] Please review RFC 103
Christine Bao
Christine.Bao at autodesk.com
Wed Jul 14 03:42:38 EDT 2010
Hi Zac,
I'm not sure whether SetDocument requires administrator privileges or not.
In HTTP handler, it use the user info to open ServerAdminService, and then the content is written to file by ServerManger in server. Is there any control about privilege?
In Http handler:
// Create ServerAdmin object
Ptr<MgServerAdmin> serverAdmin = new MgServerAdmin();
serverAdmin->Open(m_userInfo);
// call the C++ APIs
serverAdmin->SetDocument(m_identifier, m_byteReader);
In Server side:
MgServerManager* pMan = MgServerManager::GetInstance();
pMan->SetDocument(identifier, data);
GetCapabilities request's output is strictly defined, and there is no place to put the customized coordinate system mapping.
Thanks & regards,
Christine
From: Zac Spitzer <zac.spitzer at gmail.com>
Subject: Re: [mapguide-internals] Please review RFC 103
To: MapGuide Internals Mail List <mapguide-internals at lists.osgeo.org>
Message-ID:
<AANLkTilRhYnFUtqW_1HzGNtG4nUrrJo-PW8-WRt_Xids at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
As long as it requires Administrator priviledges, I don't see the problem...
out of interest, there's nothing in the getCapabilities request which would help here?
z
More information about the mapguide-internals
mailing list