Uploaded image for project: 'Commenting (closed)'
  1. Commenting (closed)
  2. MGNLCMNT-107

pagecommenting per locale and/or per site is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.2.1
    • 2.2
    • security
    • None

      Pagecommenting per locale and/or per site is not working; it has several reasons.

      • 1st reason: see MGNLCMNT-20; comment from Eric Hechinger, added a comment - 14/Mar/12 9:16 AM => /modules/commenting/templates/components/comments/parameters/@forumName should be removed
      • 2nd reason: Forum-node (and thread-node, too) here are created on the fly when the page of a certain locale and site are requested for the 1st time; but anonymous-user currently cannot create a forum or a thread (since "simple security model" has been introduced with forum-3.3) ... {DefaultForumManager#createForum}

        has 2 problems:

        • checking isModerator(hm, repoRoot) will fail (easy to fix ... but probably a sec.-problem)
        • repoRoot.createContent(cleanName, FORUM_NODETYPE) => will always fail ... anonymous-user requires more rights

        Acceptance criteria

              cmeier Christoph Meier
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: