craig, i've putted these two lines [1] in SqlNamespaceProvider (on the lines
that you've told me)... DenyEdit: authenticated and AllowEdit:
role:Administrator ... denying edit right to all users except
administrator... so i believe it's "authenticated" right? cuz... anonymous
users are being handled already... there's no way they can be logged in and
use or view the wiki...
are these lines correct? because, these do not create the new namespace
fully... it did not write into the flexwiki.config file and it did not
create the _ContentBaseDefinition topic... it did created on the DB only...
i assumed this is because of the DenyEdit: authenticated...
what i am trying to achieve on this is that... deny edit all users
(authenticated) except the administrators...
[1]
manager.SetTopicPropertyValue(manager.DefinitionTopicName.LocalName,
"DenyEdit", "authenticated", false, "FlexWiki");
manager.SetTopicPropertyValue(manager.DefinitionTopicName.LocalName,
"AllowEdit", "role:Administrator", false, "FlexWiki");
That shouldn't be too bad. You'll just need to add a property like this [1]
> to _ContentBaseDefinition during namespace creation. It's a lot like how
> the
> Contact and Title properties get set in SqlNamespaceProvider [2] (around
> line 150). Just add in something for DenyEdit as well. Does that make
> sense?
>
>
> [1]
> DenyEdit: anonymous
>
> [2]
> manager.SetTopicPropertyValue(manager.DefinitionTopicName.LocalName,
> "Contact", Contact, false, "FlexWiki");
> manager.SetTopicPropertyValue(manager.DefinitionTopicName.LocalName,
> "Title", Title, false, "FlexWiki");
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users