> On 16. Aug 2017, at 06:42, Cristiano Kliemann <[email protected]> wrote:
> 
> Is there any way to implement such restriction?
> 

Untested, and probably a leading anti-pattern, but:

Try to `new Exception()` (don't throw) and inspect its stack trace to see who 
called the method.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0B9CE886-CCC0-4994-A26A-0CD950186643%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to