Child pages
  • [permissions] Infinite redirect, when accessing disabled catalog item page [5.2.2-B1]
Skip to end of metadata
Go to start of metadata

In-Portal has catalog, where different item types (called catalog items) can be grouped into categories. Each of items in catalog among other things have:

  • name
  • url
  • status (enabled/disabled)

There is a protection in place, that ensures that attempt to access the url of a disabled item would result in "No Permission" page being shown.

We haven't tested it in a while and it turns out, that instead of showing "No Permission" page and infinite redirect is made, which is then blocked by Web Browser.

Solution

In the "\kDBEventHandler::_processItemLoadingError" method specify 'pass' => 'm', in both "$redirect_params" arrays.

Related Tasks

INP-1727 - Getting issue details... STATUS