Uploaded image for project: 'Stripes'
  1. Stripes
  2. STRIPES-332

Trying to view a user without permission should not show an error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • None
    • None

    Description

      The permission users.item.get is required in order to fetch details of an individual user, as is required at URLs such as http://localhost:3000/users/view/31CD3EF0-F17F-4B31-9FEE-B4FBC44B61EE/verner?filters=active.Active%2Cactive.Inactive&sort=Active which causes Stripes to GET http://localhost:9130/users/31CD3EF0-F17F-4B31-9FEE-B4FBC44B61EE

      The UI should avoid making this call if it knows (due to the absence of the necessary permission) that the request will fail. (One reason is that it saves the user from seeing a frightening popup) – instead, the message in the right pane ("Sorry - your user permissions do not allow access to this page.") should be the only indication that something is wrong.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mike Mike Taylor
                mike Mike Taylor
                Votes:
                0 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 - 2 hours
                    2h

                    TestRail: Runs

                      TestRail: Cases