I've the following problem. I want to create a node from a usercontrol and i want only one membergroup to have access to it. It all seems to work right until the user logs off (or a IIS reset is performed), after that the node is not accesable until a republish entire node is performed.
is called on republish entired site, and... It solved my problem. I'm not quitte sure what is does, but will try to find out that after finishing this site.
Setting rights on node.. problem with publish
Hi,
I've the following problem. I want to create a node from a usercontrol and i want only one membergroup to have access to it.
It all seems to work right until the user logs off (or a IIS reset is performed), after that the node is not accesable until a republish entire node is performed.
here is the code i'm using
actually my question is how to perform a republish entire site from code, or how to apply the security part in a right way.
thanks for any suggestions.
gr. Walter
oeps... version 4.5
Walter,
Does it work when you manually set the permission on the page?
Regards
Ismail
Hi,
umbraco.library.RefreshContent() does not already republish the entire site ?
Have you tried doc.XmlGenerate(new XmlDocument); ?
Hi All,
Thanks for your suggestions, @ismail, yes when setting permissions manual it all seems to go well.
After a little investigation the source code of umbraco it seems that
is called on republish entired site, and... It solved my problem. I'm not quitte sure what is does, but will try to find out that after finishing this site.
gr. Walter
is working on a reply...