<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Component for Role Based Permissions in Flex</title>
	<atom:link href="http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/</link>
	<description>Enterprise Software Consultant</description>
	<lastBuildDate>Mon, 15 Mar 2010 20:02:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jarsong Chang</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-21338</link>
		<dc:creator>Jarsong Chang</dc:creator>
		<pubDate>Mon, 15 Mar 2010 20:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-21338</guid>
		<description>yes. we are using it with flex3.

any time frame in mind for flex4?

Thanks!</description>
		<content:encoded><![CDATA[<p>yes. we are using it with flex3.</p>
<p>any time frame in mind for flex4?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonr</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-21337</link>
		<dc:creator>jonr</dc:creator>
		<pubDate>Wed, 10 Mar 2010 18:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-21337</guid>
		<description>Possibly, are you currently using it with Flex 3?</description>
		<content:encoded><![CDATA[<p>Possibly, are you currently using it with Flex 3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jarsong Chang</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-21334</link>
		<dc:creator>Jarsong Chang</dc:creator>
		<pubDate>Thu, 04 Mar 2010 21:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-21334</guid>
		<description>any plan to make chimp work in flex4?</description>
		<content:encoded><![CDATA[<p>any plan to make chimp work in flex4?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baoming Chai</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-21155</link>
		<dc:creator>Baoming Chai</dc:creator>
		<pubDate>Fri, 23 Oct 2009 07:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-21155</guid>
		<description>Chimp is an execellent component. I am using it a lot, but it seems that Chimp cannot control the visibility of the child component in a ViewStack. When I was trying to use “removeChild”, I got an error:
Error #2025: The supplied DisplayObject must be a child of the caller.

My understanding is that Chimp listens on the event ADDED_TO_STAGE, but an ViewStack creates and added the children in the display list after the event ADDED_TO_STAGE is dispatched. So that error apears when Chimp tries to remove the child from the ViewStack.

Is there any suggestion?

Thanks,

BM</description>
		<content:encoded><![CDATA[<p>Chimp is an execellent component. I am using it a lot, but it seems that Chimp cannot control the visibility of the child component in a ViewStack. When I was trying to use “removeChild”, I got an error:<br />
Error #2025: The supplied DisplayObject must be a child of the caller.</p>
<p>My understanding is that Chimp listens on the event ADDED_TO_STAGE, but an ViewStack creates and added the children in the display list after the event ADDED_TO_STAGE is dispatched. So that error apears when Chimp tries to remove the child from the ViewStack.</p>
<p>Is there any suggestion?</p>
<p>Thanks,</p>
<p>BM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick R</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-21108</link>
		<dc:creator>Rick R</dc:creator>
		<pubDate>Mon, 31 Aug 2009 19:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-21108</guid>
		<description>This isn&#039;t related to Chimp per-se, but can someone demonstrate (with real code) how a true logout is accomplished? Right now when you do channelSet.logout() this doesn&#039;t allow you to login as a different user - you get &quot;Cannot re-authenticate in the same session&quot; error. I even tried adding  in my flex:message-broker setup.

I&#039;d like the behavior that I see in typical apps - if you logout and are presented with a login page, you can login as a different user. Using BlazeDS-Spring Integration any idea how to accomplish this? I posted for follow up on the blazeds-springintegration message boards but still waiting for a response.

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>This isn&#8217;t related to Chimp per-se, but can someone demonstrate (with real code) how a true logout is accomplished? Right now when you do channelSet.logout() this doesn&#8217;t allow you to login as a different user &#8211; you get &#8220;Cannot re-authenticate in the same session&#8221; error. I even tried adding  in my flex:message-broker setup.</p>
<p>I&#8217;d like the behavior that I see in typical apps &#8211; if you logout and are presented with a login page, you can login as a different user. Using BlazeDS-Spring Integration any idea how to accomplish this? I posted for follow up on the blazeds-springintegration message boards but still waiting for a response.</p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland Zwaga</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-20958</link>
		<dc:creator>Roland Zwaga</dc:creator>
		<pubDate>Mon, 22 Jun 2009 07:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-20958</guid>
		<description>Not just login/logout fits this scenario, I have a use-case in which this is applicable as well. Namely a workflow system in which the current document&#039;s status dictates the current user&#039;s privileges, So if the user changes the document, which in turn changes its status, the server sends back a new list of user rights  which are immediately applied to the UI. I went for the easier route and just use the &#039;enabled&#039; property to turn UI on or off for the user.</description>
		<content:encoded><![CDATA[<p>Not just login/logout fits this scenario, I have a use-case in which this is applicable as well. Namely a workflow system in which the current document&#8217;s status dictates the current user&#8217;s privileges, So if the user changes the document, which in turn changes its status, the server sends back a new list of user rights  which are immediately applied to the UI. I went for the easier route and just use the &#8216;enabled&#8217; property to turn UI on or off for the user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonr</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-20797</link>
		<dc:creator>jonr</dc:creator>
		<pubDate>Thu, 05 Mar 2009 08:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-20797</guid>
		<description>Thanks for the suggestions ... I have add them along with a few other updates: http://ectropic.com/wordpress/2009/03/05/flex-security-component-updates/.
Thanks!
-Jon</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestions &#8230; I have add them along with a few other updates: <a href="http://ectropic.com/wordpress/2009/03/05/flex-security-component-updates/" rel="nofollow">http://ectropic.com/wordpress/2009/03/05/flex-security-component-updates/</a>.<br />
Thanks!<br />
-Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonr</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-20790</link>
		<dc:creator>jonr</dc:creator>
		<pubDate>Tue, 03 Mar 2009 07:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-20790</guid>
		<description>I think the includeInLayout idea will work ... I am working on a bug that excludes nested components.  So, I am not 100% sure it works for all types of components, but I think it will be a better way to remove components from view.  I should have an update to post tomorrow.</description>
		<content:encoded><![CDATA[<p>I think the includeInLayout idea will work &#8230; I am working on a bug that excludes nested components.  So, I am not 100% sure it works for all types of components, but I think it will be a better way to remove components from view.  I should have an update to post tomorrow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-20789</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Tue, 03 Mar 2009 06:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-20789</guid>
		<description>Hmm, yes didn&#039;t really think the &#039;remove&#039; action through!   Could use includeInLayout instead I guess.

As you rightly say the ramifications and complexity of trying to manage state and so on as roles change could be crazy.

Regardless, really cool work!  Thanks for contributing it to the community.</description>
		<content:encoded><![CDATA[<p>Hmm, yes didn&#8217;t really think the &#8216;remove&#8217; action through!   Could use includeInLayout instead I guess.</p>
<p>As you rightly say the ramifications and complexity of trying to manage state and so on as roles change could be crazy.</p>
<p>Regardless, really cool work!  Thanks for contributing it to the community.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonr</title>
		<link>http://gorillajawn.com/wordpress/2009/03/02/component-for-role-based-permissions-in-flex/comment-page-1/#comment-20788</link>
		<dc:creator>jonr</dc:creator>
		<pubDate>Tue, 03 Mar 2009 06:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=312#comment-20788</guid>
		<description>I followed a lot of the things in Swiz for my approach … I don’t totally follow how I could use autowiring.  However, It would seem pretty doable to listen for changes on the permissions ArrayCollection, and update the protected components based on the updates.  I already create ChimpActions for each metadata entry.  So, it should just be a matter of caching those (they have a reference to the components), and then applying the protection with the updated permissions.  The only one that might get weird is the “remove” action, as there may be different results in adding the child back if it had already been removed (i.e. the child order could have changed since it was created).  Any idea how I could handle that case?

Also, I am curious about the use case for this … the only thing I can come up with where this would be used is if permissions updates are being pushed out to the clients anytime they are updated. I guess this could be used for a log out.  Although, it still seems like the application would need to do more than just use protected metadata for this case … then again maybe not.  I could see these cases being used on occasion, but it would seem like there would be larger ramifications in this application for this sort of update.   Are there other cases you are thinking of?</description>
		<content:encoded><![CDATA[<p>I followed a lot of the things in Swiz for my approach … I don’t totally follow how I could use autowiring.  However, It would seem pretty doable to listen for changes on the permissions ArrayCollection, and update the protected components based on the updates.  I already create ChimpActions for each metadata entry.  So, it should just be a matter of caching those (they have a reference to the components), and then applying the protection with the updated permissions.  The only one that might get weird is the “remove” action, as there may be different results in adding the child back if it had already been removed (i.e. the child order could have changed since it was created).  Any idea how I could handle that case?</p>
<p>Also, I am curious about the use case for this … the only thing I can come up with where this would be used is if permissions updates are being pushed out to the clients anytime they are updated. I guess this could be used for a log out.  Although, it still seems like the application would need to do more than just use protected metadata for this case … then again maybe not.  I could see these cases being used on occasion, but it would seem like there would be larger ramifications in this application for this sort of update.   Are there other cases you are thinking of?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
