Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2285

Error page is not available when API call returns HTTP status code 403(forbidden)

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • master
    • None
    • Ranger
    • None

    Description

      Error page not populated when getting response 403(Forbidden).
      scenario-1
      Steps -
      1. Login with admin.
      2. Create users 'testuser3' and 'testuser2' with USER_ROLE.
      3. Create a group 'group1'.
      4. Add 'testuser3' and testuser2' to 'group1'.
      5. Give 'User/Group' page permission to 'testuser1'
      6. Login with 'testuser3'
      7. Go to group listing page
      8. Click on 'view user' button in group listing page.
      9. Click on 'testuser2' username (The page goes into loading state instant off error page ).
      (Refer image screenshort_1)

      scenario-2
      Steps -
      1. Login with 'testuser3'.
      2. 'testuser3' user does not have permission to view Tag base policy.
      3. By changing the router to '/policymanager/tag' its show blank 'Service Manager' page instant off error page.
      (Refer image screenshort_2).

      Attachments

        1. screenshort_2.png
          90 kB
          Dhaval Rajpara
        2. screenshort_1.png
          107 kB
          Dhaval Rajpara
        3. 403ErrorPage.png
          104 kB
          Dhaval Rajpara
        4. 0002-RANGER-2285.patch
          4 kB
          Dhaval Rajpara
        5. 0001-RANGER-2285-Error-page-is-not-available-when-API-cal.patch
          4 kB
          Dhaval Rajpara

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Dhaval.Rajpara Dhaval Rajpara
            Dhaval.Rajpara Dhaval Rajpara

            Dates

              Created:
              Updated:

              Slack

                Issue deployment