Re: [flexcoders] Role based UI

2007-04-05 Thread Tom Chiverton
On Thursday 05 Apr 2007, Stembert Olivier (BIL) wrote: What I don't like is the fact that the method is intrusive. Do you know a more elegant way to achieve that? What we do is use visible/includeInLayout, bound to the role name in the model to hide/show GUI elements, or whole tabs in

RE: [flexcoders] Role based UI

2007-04-05 Thread Stembert Olivier \(BIL\)
Where do you store the permissions i.e. role1 has rights to view panel1? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, April 05, 2007 12:40 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Role based UI

Re: [flexcoders] Role based UI

2007-04-05 Thread Tom Chiverton
On Thursday 05 Apr 2007, Stembert Olivier (BIL) wrote: Where do you store the permissions i.e. role1 has rights to view panel1? Either send a big list of Booleans back from the server, or just check the role name. The latter case is a bit less explicit, but less work. -- Tom Chiverton