1 Reply Latest reply on Feb 17, 2012 9:00 AM by Davide G

    Create a node by anonymous user - without a account in the CQ

    kasq Level 3

      Hi,

       

      Is in the CQ some best practice related to creation of node in the repository with some user data submitted in the form using POST by anonymous user?

       

      I would like to create nodes under:  /content/usergenerated/project/ .... , so for sure I need give a permissions for this location and then guarantee that anonymous user will have possibility to create a node with submitted data.

       

      Regards,

      kasq

        • 1. Re: Create a node by anonymous user - without a account in the CQ
          Davide G Adobe Employee

          Hi kasq,

           

          I see here two solutions. I've ever tried none of them.

           

          First is to create a sling servlet that receive the content node creation. It will then open a CRX session for a precise user (not admin please) that creates the content.

           

          The second is to create an area in the repository where anonymous user have write access and then using a workflow you move the required content to the desired location.

           

          HTH

          Davide

          1 person found this helpful