Discussion for FogBugz Plugin developers
I have a test installation where I am generating custom reports of case activity. I am grouping them by user, so naturally, the Person::CanSeeCases property was an ideal test to see if I should display that user or not. However, it is always returning false, even though I have verified that the user in question can see the cases in the list. Am I misunderstanding the purpose of this property?
Friday, September 4, 2009
Hmm, no that sounds like a correct application for it, but it's possible that the logic is wrong when querying it for someone other than the current user. I'll take a look.
In the meantime, you're most likely okay just checking person.PermissionLevel >= PermissionLevel.Normal.
The only edge case that CanSeeCases catches is where permissions are set up so that a normal user can't read ANY projects, which is pretty rare.
This topic is archived. No further replies will be accepted.Other recent topics