Index: main/waeup.uniben/trunk/src/waeup/uniben/browser/pdf.py
===================================================================
--- main/waeup.uniben/trunk/src/waeup/uniben/browser/pdf.py	(revision 18064)
+++ main/waeup.uniben/trunk/src/waeup/uniben/browser/pdf.py	(revision 18103)
@@ -23,4 +23,5 @@
 import grok
 from waeup.kofa.browser.pdf import PDFCreator, LandscapePDFCreator
+from waeup.kofa.utils.helpers import get_user_account
 
 class CustomPDFCreator(PDFCreator):
@@ -36,11 +37,15 @@
     @property
     def watermark_path(self):
+        self.watermark_pos = [-25, 100]
         if self.view and self.view.__name__ == 'transcript.pdf':
-            if self.view.request.principal.id not in ('xyz',):
-                self.watermark_pos = [95, 190]
-                return os.path.join(
-                    os.path.dirname(__file__), 'static', 'pdf_stud_only.jpg')
-            #usertype = getattr(self.view.request.principal, 'user_type', None)
-            #if usertype and usertype == 'student':
+            account = get_user_account(self.view.request)
+            if account:
+                site_roles = get_user_account(self.view.request).roles
+                if 'waeup.TranscriptOfficer' in site_roles:
+                    return os.path.join(
+                        os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
+            self.watermark_pos = [95, 190]
+            return os.path.join(
+                os.path.dirname(__file__), 'static', 'pdf_stud_only.jpg')
         return os.path.join(
             os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
