Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39942

Discuss this topic link on the Site News Forum - should not appear all the time

    Details

    • Testing Instructions:
      Hide

      Display Site News on Front Page and create a post.
      Login as site admin to see "Discuss this topic" link.
      Login is normal user. You should not see "Discuss this topic".
      View the page anonymously. You should not see "Discuss this topic".

      Show
      Display Site News on Front Page and create a post. Login as site admin to see "Discuss this topic" link. Login is normal user. You should not see "Discuss this topic". View the page anonymously. You should not see "Discuss this topic".
    • Workaround:
      Hide

      You can hide the discussion link from everyone using CSS.

      .path-site .forumpost .link

      { display: none; }
      Show
      You can hide the discussion link from everyone using CSS. .path-site .forumpost .link { display: none; }
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      wip-MDL-39942-master

      Description

      "Discuss this topic" link appears for the Site News Forum for everyone (authenticated, non-authenticated users, all roles), even if all possible permissions are set to Prevent discussions and replies.

      Once person clicks on the link, he can see the post, with no Reply link there (which is how it is supposed to be)
      See screenshots.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Mar/14