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

ANSWER and SEND buttons are available for user without permissions

VotersWatchers
    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.20 Larks
    • Fix Version/s: 1.6 Larks
    • Labels:
      None
    • Sprint:
      1.6 Larks

      Description

      Scenario#1:

      1. Sign in forum with username, which is restricted in SEND_PRIVATE_MESSAGES personal permissions.
      2. Open Personal messages -> Inbox. Open a received message.

      ACTUAL RESULT: "Aswer" button is shown
      EXPECTED RESULT: "Aswer" button in received message is invisible.

      Scenario#2:
      1. Sign in forum with username, which is allowed in SEND_PRIVATE_MESSAGES personal permissions.
      2. Open Personal messages and create new message.
      3. Save new message in Drafts.
      4. Add this user in restricted users in SEND_PRIVATE_MESSAGES personal permissions via Poulpe.
      5. Open Personal messages -> Drafts, choose saved message.

      ACTUAL RESULT: "Send" button is available
      EXPECTED RESULT: "Send" button in draft is invisible.

      Note, that in both cases it is possible to click on the button but 'Access denied page' is shown and message will not be send.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  vlad_shilyakov Vlad Shilyakov
                  Reporter:
                  goand Andrey Golikov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel