Merge remote-tracking branch 'origin/feature-18224/Anrechnungen_ECTS-Grenze' into feature-18224/Anrechnungen_ECTS-Grenze

This commit is contained in:
Cris
2022-08-10 16:01:42 +02:00
8 changed files with 1135 additions and 10 deletions
+13
View File
@@ -6441,6 +6441,19 @@ if(!@$db->db_query("SELECT public.get_ects_summe_beruflich('')"))
echo '<br>Funktion <b>public.get_ects_summe_beruflich(student_uid)</b> hinzugefügt';
}
// Grant SELECT to bis.tbl_gsprogramm for web-user
if($result = @$db->db_query("SELECT * FROM information_schema.role_table_grants WHERE table_name='tbl_gsprogramm' AND table_schema='bis' AND grantee='web' AND privilege_type in ('SELECT')"))
{
if($db->db_num_rows($result)==0)
{
$qry = "GRANT SELECT ON bis.tbl_gsprogramm TO web;";
if(!$db->db_query($qry))
echo '<strong>tbl_gsprogramm Berechtigungen: '.$db->db_last_error().'</strong><br>';
else
echo '<br>Granted SELECT privileges to web for bis.tbl_gsprogramm';
}
}
// *** Pruefung und hinzufuegen der neuen Attribute und Tabellen
echo '<H2>Pruefe Tabellen und Attribute!</H2>';
+1082 -1
View File
File diff suppressed because it is too large Load Diff