Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-2415

An 400 error bad request is displayed in the Project Settings when trying to edit an Env, not having permissions to access the Xray Global settings

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 1.013.000-6
    • 1.014.000
    • Backup
    • STG, Live - All Browsers

    • XRAYCLOUD 2020 Sprint 1

    Description

      Short Description: An 400 error bad request is displayed in the Project Settings when trying to edit an Env, not having permissions to access the Xray Global settings.

      Steps to Reproduce:

      1 - Create a user with a basic role.

      2 - Enter Xray and create a project (the user can only create Next Gen projects)

      3 - Go to the project settings and add an Environment from the Global Settings.

      4 - Edit that Env.

      Actual results: An error message is displayed on the screen (400 error bad request).

      Expected results: The user should be able to edit the environment if he has permissions to edit all the projects the environment is in.
      This logic should be present in the UI and accessing the endpoint directly.

      Attachments

        Activity

          People

            apsp Ana Patricio
            apsp Ana Patricio
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 10 minutes
                7h 10m