This topic is locked

Dynamic Permissions and $_SESSION

8/26/2015 7:00:13 AM
PHPRunner General questions
L
LuizMarin author

Hello everyone,
I would aid a simple question (for you). I am new to PHPRunner, but I'm also a happy user of this tool.
In List page: After record processed has (Dynamic Permissions):
if ($_SESSION["AccessLevel"]!= ACCESS_LEVEL_ADMINGROUP ) {

$record["checkbox"] = false;

}
echo " a ".$_SESSION["AccessLevel"]." b " . ACCESS_LEVEL_ADMINGROUP ;

echo " c ".$_SESSION["GroupID"]." d " . ACCESS_LEVEL_USER ;
RESULT: a User b AdminGroup c marin d User
BUT..: "marin" IT'S CERTAIN ADMINISTRATOR GROUP (-1).
I appreciate the guidance they can give.
(I use Google automatic translation. Sorry for the mistakes ...)