$DiscussionModel->Save($DiscussionData); from plugin
I've got plugin which should post discussion automatically when it has been triggered by just opening certain page by wget as cron job. Thing is plugin tried to do $DiscussionModel->Save($DiscussionData); nothing happening be cause I think it does permission check at the background and assign the guest role which is restricted to post. When I'm authorised and opening same page plugin work perfect.
How I can bypass permission check to post for my plugin?