Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29900

Delete button available even if user has no permissions to delete

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5, 12.4, 19.0, 20.0 [Tentative]
    • Fix Version/s: 12.7, 19.1, 20.0 [Tentative]
    • Component/s: Forums Tool
    • Labels:
      None
    • 19 status:
      Verified
    • 12 status:
      Verified

      Description

      In the Forums tool a user who does not have delete permissions on other user's conversations is still presented with a Delete button. When they select the Delete button they are given an error stating: "Alert: You do not have permission to delete this message.". Instead of an error the button should be removed.

      Steps to replicate:
      1. Login as user one and create a new conversation in a forum topic
      2. Login as user two that does not have delete permissions and navigate to the deepest level of the conversation (one specific post)
      3. Delete button is visible. Click Delete
      4. Alert: You do not have permission to delete this message.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcebellan Jose Cebellán (Entornos de Formación)
                  Reporter:
                  mbrousseau Michael Brousseau
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code