Make Content only available to a members group from a form post in the surface controler- Public Access rules
Hello all,
I currently have a form on my site that will create content in Backoffice. just like a contact form might. I need the pages for these nodes to be restricted to a specific member group.
I found some information about IPublicAccessService AddRule, but because of my lack of experience with .net, I do not know how to use it. I could not find any examples.
Make Content only available to a members group from a form post in the surface controler- Public Access rules
Hello all,
I currently have a form on my site that will create content in Backoffice. just like a contact form might. I need the pages for these nodes to be restricted to a specific member group.
I found some information about IPublicAccessService AddRule, but because of my lack of experience with .net, I do not know how to use it. I could not find any examples.
https://our.umbraco.org/apidocs/csharp/api/Umbraco.Core.Services.IPublicAccessService.html
here is the form post section of my controler:
thanks in advance.
Does anybody have any insight?
is working on a reply...