Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-906 View_Topic permission improvements
  3. JC-1037

User can see/post in the Topic, if he stays on Topic page when VIEW_TOPIC is being resricted

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.20 Larks
    • Fix Version/s: 0.20 Larks
    • Labels:
      None
    • Sprint:
      1.7 Larks, 1.8 Larks, 1.9 Larks, 2.1 Larks

      Description

      Scenario 1

      1. Add the User to some Group, grant the Group VIEW_TOPIC permission.
      2. Go to the topic by clicking on Topic Name in a list of Branch topics (the User will see the posts in the topic). Stay on the page.
      3. Move the Group to the Restricted on VIEW_TOPIC permissions.

      Actual result: the User still sees the posts of the topic and can post there

      Expected result: "Access denied" page is shown

      Scenario 2

      1. Add the User to the Group, grant the Group VIEW_TOPIC permission.
      2. Go to the topic by clicking on Topic Name in a list of Branch topics (the User will see the posts in the topic). Stay on the page.
      3. Remove the User from the Group

      Actual result: the User still sees the posts of the topic and can post there

      Expected result: "Access denied" page is shown

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  masha nisse Maria Agapchenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 0h
                    0h
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 2.5h
                    2.5h

                      Structure Helper Panel