mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 01:42:17 +00:00
Merge remote-tracking branch 'origin/feature-18224/Anrechnungen_ECTS-Grenze' into feature-18224/Anrechnungen_ECTS-Grenze
This commit is contained in:
@@ -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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user