The only thing I can suggest is that you remove the admin view from
the view stack. *Or* you can also disable it (and the button will be
disabled).

On 4/27/07, gotjosh819i <[EMAIL PROTECTED]> wrote:
> Good morning all,
>
> I am working on a project that requires some level permissions.  I have
> a main viewstack that I call viewController and theres some elements in
> there.
>
> One of them in a Admin view that I would like to hide if the user
> doesnt have those permissions.
>
> I am struggling a little bit on how to do this, the visible property
> doesnt remove the viewstack element from the dataprovider when its set
> to false.
>
> Any suggestions that may lead me down the right path is appreciated.
>
> Thanks,
>
> Josh
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>

Reply via email to