[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: MAJOR UNSOLVED BUG IN THE GUI(WEBPANEL) COBALT-550 - Belated Question
- Subject: [cobalt-users] Re: MAJOR UNSOLVED BUG IN THE GUI(WEBPANEL) COBALT-550 - Belated Question
- From: "Terrance Dwyer" <td@xxxxxxxx>
- Date: Sat Oct 11 23:34:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
A belated question. I don't write PHP. Where in the
ServerScriptHelper.php do you place GUI fix posted by Ollie a few months
ago.
$serverScriptHelper = new ServerScriptHelper();
> $cceClient = $serverScriptHelper->getCceClient();
> $user = $cceClient->getObject("User", array("name"=>$loginName));
> $groupnr = $user["site"];
> if ($loginName != "admin") { // admin may do whatever he's up to
> if (isset($group)) { // checking url-parameters
> if ($group != $groupnr) { // evil guys change those values
> header("Location: http://www.somewhere.org");
> exit;
> }
> }
> }
Thanks
Terry Dwyer