This commit is contained in:
Andreas Österreicher
2008-01-09 16:46:46 +00:00
parent 87af68d2e9
commit a30093ec7e
8 changed files with 406 additions and 9 deletions
+6 -4
View File
@@ -93,8 +93,8 @@ if(isset($_GET['abschlusspruefung_id']))
if(isset($_GET['typ']))
$params.='&typ='.$_GET['typ'];
if(isset($_GET['all']))
$params.='&all='.$_GET['all'];
if(isset($_GET["lvid"]))
$params.='&all='.$_GET['all'];
if(isset($_GET["lvid"]))
$params.='&lvid='.$_GET["lvid"];
if($xsl=='AccountInfo')
@@ -126,10 +126,12 @@ if($xsl=='AccountInfo')
if(pg_num_rows($result_std)==1)
{
$row_std = pg_fetch_object($result_std);
//Mitarbeiterrechte erforderlich
//Rechte pruefen
if($rechte->isBerechtigt('admin', $row_std->studiengang_kz, 'suid') ||
$rechte->isBerechtigt('admin', 0, 'suid') ||
$rechte->isBerechtigt('assistenz', $row_std->studiengang_kz, 'suid'))
$rechte->isBerechtigt('assistenz', $row_std->studiengang_kz, 'suid') ||
$rechte->isBerechtigt('assistenz', 0, 'suid') ||
$rechte->isBerechtigt('support', 0, 'suid'))
{
$isberechtigt=true;
}