Or even better, check out the "if-service-permission" element. Looks like it may already exist. ;)

-David


On Oct 22, 2007, at 5:49 PM, Adrian Crum wrote:

Yeah, good idea. Thanks!

David E Jones wrote:

Wouldn't that be best in the condition block? Perhaps an alternate for of the has-permission thingy there.
-David
On Oct 22, 2007, at 5:38 PM, Adrian Crum wrote:
It would be helpful (from a code reuse standpoint) to enable the screen widgets to use the new permission services. I was thinking it would be cool to have something like:

<section>
<permission-service service-name="..." main-action="..." resource- description="..." fail-section="fail-section"/> <!-- actions to run, stuff to display when permission service returns true -->
</section>
<section name="fail-section">
<!-- actions to run, stuff to display when permission service returns false -->
</section>

Any thoughts?

-Adrian




Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to