Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3318

Coupons may be updated across companies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When editing a coupon as an admin for the company, you can change the company in the drop-down of the upper-right to a different company, then set packages and save the coupon. This will move it to the new company. However, coupons should not move companies.

      1. Update the Coupons model to disallow the company_id to be set on edit
      2. Update the edit coupon controller to redirect to the coupon listing page if the coupon provided does not belong to the current company ID.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/Dec/19

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 15 minutes
              15m

                Agile