Plugin Developer DiscussionDiscussion for FogBugz Plugin developers |
||
Hello, we want to develop an internal plugin that allows a user to subscribe other users to a bug. It looks like the CPerson.Subscribe method would help us here:
http://www.fogcreek.com/FogBugz/library/70/html/3184F22E.htm But the remarks section notes: "Requires that the current user have write permissions on this object." Do normal users have write permissions on another user's CPerson object? Or can only admins subscribe someone else to a bug? Thanks! Darren
Hi Darren-
Normally, yes, you would need to be an admin. However, you can set CPerson.IgnorePermissions to True if you want your plugin to do it anyway. The idea there is that the plugin runs as an administrator, but that functions 'fail shut'; that is, you have to specifically tell FogBugz that your plugin wants to allow a person to do something he would not normally be able to do. Make sense? Thanks! Brett |
Powered by FogBugz