Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-1872

Redirect loop when user doesn't have VIEW_TOPICS permission

VotersWatchers
    XMLWordPrintable

    Details

    • Sprint:
      2.9 Larks

      Description

      Steps:

      1. Log in as admin, enter Admin Mode.
      2. Create new branch in any section. Automatically Registered Users will have permissions to view it.
      3. Go to Poulpe and revoke VIEW_TOPICS permissions from Registered Users for this branch.
      4. Try to enter a branch URL directly into address bar

      AR: browser shows error This webpage has a redirect loop.
      ER: 403 page should be shown

      NB: if you look at Dev Tools of your browser, you'll see: Redirect to 403 happens (which is fine), then it redirects to login page (which shouldn't happen), the login page then redirects to the branch again.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                Foxy Alla
                Reporter:
                ctapobep Stanislav Bashkyrtsev
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel