[Mono-devel-list] is tag like <allow roles="Administrator" /> not working in mono ?]

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Jun 29 07:14:44 EDT 2004


El lun, 28-06-2004 a las 06:16, donaldi sp escribió:
> Hi All,
> 
> <configuration>
>     <system.web>
>        <authorization>
>          <allow roles="Administrators" />
>          <deny users="*" />
>        </authorization>             </system.web>
> </configuration>
> 
> The Web.Config is in "admin" directory which means only user with roles 
> "Administrators" can access pages in this directory.(this is work in ASP 
> .NET). but in mono no user can access pages in the directory, it's 
> because <deny users="*" /> but if  I change become <deny users="?" />, 
> it's not just user with "Administrators" role can access the pages but 
> the other user also can access pages.
> 
> Is <allow roles="Administrators" /> not working in mono or what?

What version are you using? There was a bug on this fixed before RC1.

-Gonzalo





More information about the Mono-devel-list mailing list