1

I'm still troubleshooting a plug-in that I am building and am seeing some odd behavior that I want to confirm.

I am using some code in RawPageDisplay to handle AJAX callbacks from my plug-in, but am noticing that the method doesn't seem to even get called when the AJAX call comes from a community and not-logged in users.

At first I suspected my code had a bug that didn't deal with the fact that these users didn't have rights to much in the system, and proceeded to test that by stepping through my code in debug mode only to discover that a break-point on the first line of the RawPageDispay method was never hit, unless logged in as a "real user".

Is this by design? Am I just doing something wrong? Should anon/community users be able to access a plug-in through this interface under the security model of FogBugz?

flag

1 Answer

1

Found the answer on my own. For posterity, the trick is in the return value of this method of IPluginRawPageDisplay.

 public PermissionLevel RawPageVisibility()
        {
            return PermissionLevel.Public;
        }
link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.