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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: master
    • Component/s: Ranger
    • Labels:
      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. 0002-RANGER-2285.patch
          4 kB
          Dhaval Rajpara
        2. 403ErrorPage.png
          104 kB
          Dhaval Rajpara
        3. 0001-RANGER-2285-Error-page-is-not-available-when-API-cal.patch
          4 kB
          Dhaval Rajpara
        4. screenshort_1.png
          107 kB
          Dhaval Rajpara
        5. screenshort_2.png
          90 kB
          Dhaval Rajpara

          Activity

            People

            • Assignee:
              Dhaval.Rajpara Dhaval Rajpara
              Reporter:
              Dhaval.Rajpara Dhaval Rajpara
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: