Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1183

Permission EDIT_OTHER_POSTS should't give the rights to edit own messages and topics.

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Larks
    • Fix Version/s: 1.4 Larks
    • Labels:
      None
    • Sprint:
      1.4 Larks

      Description

      Permission EDIT_OTHER_POSTS should't give the rights to edit own messages and topics.

      Case #1
      Steps to reproduce:
      1. Go to Admin panel, create New_Section and New_Branch in it.
      2. Register and activate New_User.
      3. Assign VIEW_TOPIC, CREATE_POSTS and EDIT_OTHER_POSTS permissions for New_User in New_Branch.
      4. Sign in JCommune via New_User and navigate to New_Branch.
      5. Create a New_Topic in New_Brunch..
      6. Fill out the topic using the Data below:

      Data
      Topiс title: Topic_1
      Message content: This is message

      7. Click the "Save" button.

      Actual Result: After creating the topic an "Edit" button is present.
      Expected Result: After creating the topic the "Edit" button is absent.

      Case #2
      Steps to reproduce:
      1. Select the topic you have just created (Topic_1) and click the "Answer" button.
      2. Fill out the message using the Data below:

      Data
      Message content: This is message 2

      Actual Result: After creating the message the "Edit" button is present.
      Expected Result: After creating the message the "Edit" button is absent.

      Note: This bug was found in TC @JC-688 (#10) but applies not only to the Poll.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  omaks Omaks
                  Reporter:
                  omaks Omaks
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 1h 10m
                    1h 10m

                      Structure Helper Panel