Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-3146

Xray is validating for users with the project role named "Administrators" instead of validating if the user has a role with Administer projects permission

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • R3.1.6
    • 4.2.5
    • Core
    • XRAY 2020 Sprint 10
    • OK

    Description

      For the project settings action Enable requirement coverage, Xray performs the following validation:

      • The user is a JIRA administrator
      • The user has the project role named "Administrators"

      The second validation is wrong, it should not be validating for the role named "Administrators", it should be validating if the user have a project role with Administer projects permission.

      in the example above, both roles should be able to enable the requirement coverage but it is currently not the case.

      When users try to enable the requirement coverage they are redirected to the login page even if they have a project role with Administer project permission.

       

      Attachments

        1. administer projects.png
          104 kB
          Xavier Fernandes
        2. roles able to enable.png
          94 kB
          Xavier Fernandes

        Activity

          People

            dpca Diamantino Campos
            xcfe Xavier Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 1 day, 1 hour
                1d 1h