Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The permission system in In-Portal ensures, that nobody can access data that he/she can't operate on. For example "kDBEventHandler::checkItemStatus" method is called on Front-End to check if user can see/edit an object (e.g. user profile).

Knowing that I was quite surprised, that there are "is admin?" checks still present in the "kDBEventHandler::checkItemStatus" method.

Solution

Remove redundant "is admin?" checks from "kDBEventHandler::checkItemStatus" method, that usually looks like this:

if ( $this->Application->isAdminUser ) {
	return true;
}

Related Tasks

  • No labels