Hi Liz,
ManageNamespace permission includes the edit topic capability, so you are
only stopping testuser from managing the namespace but still allowing the
edit all topics. Instead try one of the following (whichever suits your
requirement):

      <Provider Id="81e94b31-48f3-4f60-836d-ed0efe8cb48d"
Type="FlexWiki.FileSystemNamespaceProvider" AssemblyName="FlexWiki, Version=
2.0.0.186, Culture=neutral, PublicKeyToken=null">
        <Parameters>
          <Parameter Name="Namespace" Value="RIS" />
          <Parameter Name="Root" Value="RIS" />
        </Parameters>
        <AuthorizationRules>
          <Rule Type="Allow" Action="Read" Principal="all" />
          <Rule Type="Deny" Action="Edit" Principal="user:testuser" />
          <Rule Type="Allow" Action="ManageNameSpace"
Principal="user:adminuser" />
        </AuthorizationRules>
      </Provider>

or if you do not want adminuser to also be able to manage the namespace but
just edit topics then

      <Provider Id="81e94b31-48f3-4f60-836d-ed0efe8cb48d"
Type="FlexWiki.FileSystemNamespaceProvider" AssemblyName="FlexWiki, Version=
2.0.0.186, Culture=neutral, PublicKeyToken=null">
        <Parameters>
          <Parameter Name="Namespace" Value="RIS" />
          <Parameter Name="Root" Value="RIS" />
        </Parameters>
        <AuthorizationRules>
          <Rule Type="Allow" Action="Read" Principal="all" />
          <Rule Type="Allow" Action="Edit" Principal="user:adminuser" />
          <Rule Type="Deny" Action="Edit" Principal="user:testuser" />
        </AuthorizationRules>
      </Provider>


John Davidson

On Thu, Jul 31, 2008 at 2:13 PM, Liz Fairman - LAWLIBX <
[EMAIL PROTECTED]> wrote:

>  All,
>
> I have a namespace that should allow only a few people edit privileges.  So
> far, I can allow or deny edit privileges for the whole wiki, but not for
> just one namespace.  A hint on the flexwiki website said to put a rule in
> the namespace definition section.  So, in the wiki config file I put these
> lines:
>
>       <Provider Id="81e94b31-48f3-4f60-836d-ed0efe8cb48d"
> Type="FlexWiki.FileSystemNamespaceProvider" AssemblyName="FlexWiki, Version=
> 2.0.0.186, Culture=neutral, PublicKeyToken=null">
>         <Parameters>
>           <Parameter Name="Namespace" Value="RIS" />
>           <Parameter Name="Root" Value="RIS" />
>         </Parameters>
>         <AuthorizationRules>
>           <Rule Type="Allow" Action="Read" Principal="all" />
>           <Rule Type="Allow" Action="Edit" Principal="user:adminuser" />
>           <Rule Type="Deny" Action="ManageNameSpace"
> Principal="user:testuser" />
>         </AuthorizationRules>
>       </Provider>
>
> Testuser, however, can still edit any pages.  What am I missing here?  How
> do I restrict editing for just one group?
> **
> *Liz Fairman                 *
>
> Technical Services Librarian
>
> Superior Court Law Library
>
> Phoenix Az 85003
>
> 602-506-3462
>
> [EMAIL PROTECTED]  *
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to