Plugin Developer DiscussionDiscussion for FogBugz Plugin developers |
||
I'm getting an unexpected permissions error when I create a new area inside of a 'ProjectCommitAfter' method. I am logged in as an admin, and am able to manually create the area. However if I do the following in my plugin, I get a FogBugzPermissionsException that says the current user does not have write permissions:
var addArea = api.Area.NewArea(); addArea.sArea = "Test"; addArea.ixProject = project.ixProject; addArea.Commit(); I set IgnorePermissions to true and ixPersonOwner to -1, and it worked. Not sure which made the difference, but thought I'd pass along... |
Powered by FogBugz