- Eigenes Attribut für die Sperre von Mailverteilern hinzugefügt

- diverse Security Fixes
This commit is contained in:
Andreas Österreicher
2012-06-11 15:28:19 +00:00
parent 77a4d3a8c6
commit e7bfbfd27c
6 changed files with 163 additions and 90 deletions
+56 -15
View File
@@ -26800,7 +26800,7 @@
<FontStyle>0</FontStyle>
<FormatLocked>0</FormatLocked>
<FontHeight>-28</FontHeight>
<Top>1650</Top>
<Top>1665</Top>
<Left>249</Left>
<z>0</z>
<Width>598</Width>
@@ -27515,7 +27515,7 @@
<Left>155</Left>
<z>0</z>
<Width>905</Width>
<Height>824</Height>
<Height>863</Height>
<dz>0</dz>
<RecalculateSizes>1</RecalculateSizes>
<UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes>
@@ -29040,7 +29040,7 @@
<Id>{EAD621D5-0EBD-4125-AE53-DBB7C5736895}</Id>
</WorkSpaceShape2>
<NamePositionX>884</NamePositionX>
<NamePositionY>1719</NamePositionY>
<NamePositionY>1726</NamePositionY>
<Points>
<Point>
<x>1361</x>
@@ -29052,11 +29052,11 @@
</Point>
<Point>
<x>878</x>
<y>1750</y>
<y>1765</y>
</Point>
<Point>
<x>847</x>
<y>1750</y>
<y>1765</y>
</Point>
</Points>
</WorkSpaceLinePERRelationPG83>
@@ -29297,8 +29297,8 @@
<WorkSpaceShape2>
<Id>{20CDAA08-460E-4DFC-BFA0-02CCFEC43F1D}</Id>
</WorkSpaceShape2>
<NamePositionX>1113</NamePositionX>
<NamePositionY>1170</NamePositionY>
<NamePositionX>1114</NamePositionX>
<NamePositionY>1180</NamePositionY>
<Points>
<Point>
<x>1361</x>
@@ -29310,11 +29310,11 @@
</Point>
<Point>
<x>1091</x>
<y>1207</y>
<y>1226</y>
</Point>
<Point>
<x>1060</x>
<y>1207</y>
<y>1226</y>
</Point>
</Points>
</WorkSpaceLinePERRelationPG83>
@@ -49060,7 +49060,7 @@
<Company>Technikum Wien</Company>
<Version>2.0</Version>
<CreatedDate>2009-04-17T11:15:21.000+02:00</CreatedDate>
<ModifiedDate>2012-06-05T16:21:25.633+02:00</ModifiedDate>
<ModifiedDate>2012-06-11T17:23:22.384+02:00</ModifiedDate>
<Project>FH-Complete 2.0</Project>
<Description>&lt;?xml-stylesheet type="text/xsl" href="FHCompleteTDM3PG83.xsl"?&gt;
</Description>
@@ -98115,6 +98115,47 @@ art=tbl_benutzerrolle.art &amp; tbl_rolleberechtigung.art</Comments>
<ArrDims></ArrDims>
<IsArray>0</IsArray>
</PERAttributePG83>
<PERAttributePG83 ObjectType="2003" CSAOName="PERAttributePG83">
<Id>{7A011C4D-D9EF-4441-85DF-529E4E313A27}</Id>
<Name>gesperrt</Name>
<Ordinal>0</Ordinal>
<HistoryID>{723FF578-5D03-4B75-9DE4-D5B247DB0AE5}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<RNOffset>0</RNOffset>
<RNLength>0</RNLength>
<IgnoreNC>0</IgnoreNC>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<DataTypeParam1></DataTypeParam1>
<DataTypeParam2></DataTypeParam2>
<KeepForeignKey>0</KeepForeignKey>
<DefaultValue></DefaultValue>
<NotNull>1</NotNull>
<Migrated>0</Migrated>
<Caption>gesperrt</Caption>
<Unique>0</Unique>
<OriginalName></OriginalName>
<CheckConstraint></CheckConstraint>
<CheckConstraintName></CheckConstraintName>
<KeyConstraintItems/>
<PKForeignKeys/>
<FKForeignKeys/>
<DictType/>
<Domain/>
<DataType>
<Id>{D64069A5-B04A-490B-B0A2-5144DEA81A2E}</Id>
</DataType>
<UserDataType/>
<IndexItems/>
<Default/>
<CheckConstraints/>
<KeyConstraint/>
<ArrDims></ArrDims>
<IsArray>0</IsArray>
</PERAttributePG83>
</Attributes>
<Keys>
<PERKeyConstraintPG83 ObjectType="2010" CSAOName="PERKeyConstraintPG83">
@@ -109028,7 +109069,7 @@ ALTER TABLE tbl_mitarbeiter ALTER COLUMN personalnummer DROP NOT NULL;</Comments
</PERAttributePG83>
<PERAttributePG83 ObjectType="2003" CSAOName="PERAttributePG83">
<Id>{7EC34B37-9010-4C66-8563-DAA3AACE6162}</Id>
<Name>zugangscode</Name>
<Name>freigeschaltet</Name>
<Ordinal>0</Ordinal>
<HistoryID>{BCE7DB0D-E8EA-4378-96C1-6A4D8224B1E5}</HistoryID>
<GlobalOrder>0</GlobalOrder>
@@ -109040,13 +109081,13 @@ ALTER TABLE tbl_mitarbeiter ALTER COLUMN personalnummer DROP NOT NULL;</Comments
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<DataTypeParam1>16</DataTypeParam1>
<DataTypeParam1></DataTypeParam1>
<DataTypeParam2></DataTypeParam2>
<KeepForeignKey>0</KeepForeignKey>
<DefaultValue></DefaultValue>
<NotNull>0</NotNull>
<NotNull>1</NotNull>
<Migrated>0</Migrated>
<Caption>zugangscode</Caption>
<Caption>freigeschaltet</Caption>
<Unique>0</Unique>
<OriginalName></OriginalName>
<CheckConstraint></CheckConstraint>
@@ -109057,7 +109098,7 @@ ALTER TABLE tbl_mitarbeiter ALTER COLUMN personalnummer DROP NOT NULL;</Comments
<DictType/>
<Domain/>
<DataType>
<Id>{ECB8F02F-B683-4252-8508-ED9D064C9AF3}</Id>
<Id>{D64069A5-B04A-490B-B0A2-5144DEA81A2E}</Id>
</DataType>
<UserDataType/>
<IndexItems/>
+4 -1
View File
@@ -3645,7 +3645,10 @@ if(!@$db->db_query("SELECT * FROM testtool.vw_auswertung_kategorie_semester LIMI
// Gesperrt Attribut fuer Tabelle Gruppe
if(!@$db->db_query("SELECT gesperrt FROM public.tbl_gruppe LIMIT 1"))
{
$qry = "ALTER TABLE public.tbl_gruppe ADD COLUMN gesperrt boolean;";
$qry = "ALTER TABLE public.tbl_gruppe ADD COLUMN gesperrt boolean;
UPDATE public.tbl_gruppe SET gesperrt=true WHERE aktiv=false AND sichtbar=true AND semester is null;
UPDATE public.tbl_gruppe SET aktiv=true WHERE gesperrt=true;
";
if(!$db->db_query($qry))
echo '<strong>public.tbl_gruppe: '.$db->db_last_error().'</strong><br>';