From a3af93ab71c8042cc33ec839fe287f5fa0ccbe0a Mon Sep 17 00:00:00 2001
From: Martin Haase <martin.haase@daasi.de>
Date: Fri, 16 Sep 2011 13:14:59 +0000
Subject: [PATCH] added TGacceptedTermsOfUse

git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@11220 7c539038-3410-0410-b1ec-0f2a7bf1c452
---
 .../ldap-schemas/textgrid.schema                      | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/info.textgrid.middleware.tgauth.rbac/ldap-schemas/textgrid.schema b/info.textgrid.middleware.tgauth.rbac/ldap-schemas/textgrid.schema
index a69d5ba..0219d1e 100644
--- a/info.textgrid.middleware.tgauth.rbac/ldap-schemas/textgrid.schema
+++ b/info.textgrid.middleware.tgauth.rbac/ldap-schemas/textgrid.schema
@@ -103,6 +103,13 @@ attributetype ( 1.3.6.1.4.1.10126.1.35.3.14
 	SUBSTR caseIgnoreSubstringsMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
 
+attributetype ( 1.3.6.1.4.1.10126.1.35.3.15
+	NAME 'TGacceptedTermsOfUse'
+	DESC 'Version of TextGrid Terms of Use that has been accepted by the user'
+	EQUALITY caseIgnoreMatch
+	SUBSTR caseIgnoreSubstringsMatch
+        SINGLE-VALUE
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
 
 attributetype ( 1.3.6.1.4.1.10126.1.35.3.16
         NAME 'TGResourceUUID'
@@ -111,7 +118,6 @@ attributetype ( 1.3.6.1.4.1.10126.1.35.3.16
         SUBSTR caseIgnoreSubstringsMatch
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
 
-
 objectclass ( 1.3.6.1.4.1.10126.1.35.4.1
 	NAME 'TextGridResource'
 	DESC 'Main ObjectClass of a TextGrid resource'
@@ -128,12 +134,11 @@ objectclass ( 1.3.6.1.4.1.10126.1.35.4.2
 	MUST ( TGProjectId )
 	MAY ( TGProjectName $ TGProjectDescription $ TGProjectDeactivated $ TGProjectFile) )
 
-
 objectclass ( 1.3.6.1.4.1.10126.1.35.4.3
 	NAME 'TextGridUser'
 	DESC 'User Account in TextGrid'
 	SUP top
 	AUXILIARY
 	MUST ( )
-	MAY ( TGWantsNewsletter $ TGagreeSearch $ TGuserSuppliedData $ TGfieldOfInterest $ TGidentifierForPerson $ c ) )
+	MAY ( TGacceptedTermsOfUse $ TGWantsNewsletter $ TGagreeSearch $ TGuserSuppliedData $ TGfieldOfInterest $ TGidentifierForPerson $ c ) )
 
-- 
GitLab