Hey Tim,
good call - i just logged it...
L.
On 7/15/05, Tim McAuliffe <[EMAIL PROTECTED]> wrote:
> Hey Lucas,
>
> The problem with isUserInRole() is that it performs an AND condition when
> you have a list of roles. So isUserInRole("admin,user") will only return
> true if you have admin AND user roles.
>
> I've suggested to MM that isUserInRole() should have an optional second
> attribute. Either "All" (default) or "Any". That way, it would be fully
> backwards compatible but you'd also be able to do an OR comparison when
> required. If anyone else thinks this is a good idea, you might want to
> request it here:
> http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform&product=17
>
>
> Cheers
>
> Tim
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/