Discussion for FogBugz Plugin developers
I'm trying to write a plugin that updates a bug comments from the comments entered into vault source control checkins.
The whole thing works great in that i can accept the comments and various info being posted into my raw page interface and i can update the CBug instance for the case for any user as long as i know the users index to pass to the CBug.Commit() method.
However, where i get stuck is that the CPersonQuery appears to ignore the IgnorePermissions property being set to true.
CPersonQuery peopleQ = api.Person.NewPersonQuery();
peopleQ.IgnorePermissions = true;
CPerson people = peopleQ.List();
peopleQ.IgnorePermissions = false;
works perfectly if i access the page from a browser where i am already logged into fogbugz but when i access it from my application it fails to return me the single matching CPerson object in the array.
This is a bit of a showstopper for me because i am relying on the fact that our vault and fogbugz servers use active directory and i can get the username of the person who checked in the files from vault, i really want to be able to update the fogbugz case as that user too.
Am i doing something wrong or is this just not working the way it's meant to work?
This topic is archived. No further replies will be accepted.Other recent topics