<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Everyone,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I think I might have a chicken and egg problem here. I've been using C::P::A::ACL to wall off actions by role, and until I added C::M::FormBuilder to the mix, it was working as expected. Once I added FormBuilder, I had routines like this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#A020F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">sub </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">add </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">: </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">Local </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">{</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" color="#A020F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">my </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">( </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">self</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">, </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">c</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">) = </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">@</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">_</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">c</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">-&gt;</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">forward</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">(</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">add_priv</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">);</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">}</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; min-height: 15px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#A020F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">sub </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">add_priv </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">: </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">Private Form </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">{</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" color="#A020F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">my </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">( </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">self</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">, </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">c</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">) = </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">@</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">_</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" color="#A020F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">my </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">form</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">= </SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">self</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">-&gt;</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">formbuilder</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">$</SPAN></FONT><FONT class="Apple-style-span" color="#A000F0" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">c</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">-&gt;</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">stash</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">-&gt;{</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">template</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">} = </SPAN></FONT><FONT class="Apple-style-span" color="#0000FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"MyModule/add"</SPAN></FONT><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">;</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">}</SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#B22200" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">But that gives me this error: <FONT class="Apple-style-span" color="#000000" face="Helvetica" size="3"><SPAN class="Apple-style-span" style="font-size: 12px;">Couldn't forward to command "add_priv": Invalid action or component.</SPAN></FONT></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Changing from Private to Action allows the forward to work, but now the ACL is no longer enforced (although I can see the rule being loaded in the debug output). This isn't unexpected, the C::P::A::ACL docs say it only works with Private.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is there a way to use these two modules together?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thank You,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Troy</DIV><DIV><BR></DIV></BODY></HTML>