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

User can delete CR comment if he has no permissions (via direct request)

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2 Larks
    • Fix Version/s: 1.4 Larks
    • Labels:
      None
    • Sprint:
      1.3 Larks, 1.4 Larks

      Description

      1) Add CR comment to review
      2) Send GET request like 'http://localhost/jcommune/reviewcomments/delete?reviewId=${reviewId}&commentId=${commentId}'. ${reviewId} is stored in hidden input with name 'codeReviewId'. ${commentId} is stored in hidden input with name 'id' in comment's div (class='review-container')

      AR: Comment is deleted
      ER: Popup with message 'You don't have permission anymore' should be displayed. Request method should be POST, not GET

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  varro Artem R
                  Reporter:
                  lamao Vyacheslav Mishcheryakov
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 3h
                    3h

                      Structure Helper Panel