Hi devs, I am having some problems with IPermissionRequestor, I have noticed it does not work properly for my plugin.
In the get_permission_actions method I added all the actions relevant to the embedding feature (TICKET_EMBED, MILESTONE_EMBED, etc). I then accessed the Admin/Permissions page, and granted permissions for all these actions to all the subjects (anonymous and authenticated). In the template containing the Embed button, I added a py:if statement which checks whether the relevant embed action is in perm(<resource>.resource) (e.g. perm(ticket.resource)). If so, the embed button should be displayed, otherwise, not. But this does not seem to work. Do you have any idea what might be the problem? Thanks, Antonia
