EPrints Technical Mailing List Archive

Message: #06552


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] currrent_user => usertype


Hi Adam,
it should be shown on all pages for the logged user (as long as he is „admin“ or „editor“ ) 
Am 01.06.2017 um 16:54 schrieb Adam Field <adam@adamfield.net>:

Hi Avi
 
                Which page will this be appearing on?
 
--
Adam
 
 
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of "Stenger, Avischai" <avischai.stenger@ulb.tu-darmstadt.de>
Reply-To: <eprints-tech@ecs.soton.ac.uk>
Date: Thursday, 1 June 2017 15:48
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Subject: Re: [EP-tech] currrent_user => usertype
 
Hi Adam, 
 
 
i what to show a button only for usertype „admin" or „editor". all other user shouldn’t see it.
 
Avi
 
 
Am 01.06.2017 um 16:37 schrieb Adam Field <adam@adamfield.net>:
 
Hi Avi
 
                I don’t think so.  What’s your use-case?
 
--
Adam
 
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of "Stenger, Avischai" <avischai.stenger@ulb.tu-darmstadt.de>
Reply-To: <eprints-tech@ecs.soton.ac.uk>
Date: Thursday, 1 June 2017 15:30
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] currrent_user => usertype
 
Hi all,
 
 
is there a way to find out the „usertype“ of the current session in a static-page (lile lang/de/testfile.xpage ) or in a phrases-file (lang/en/zz_webcfg.xml) ?
 
 
 
Tnks
 
 
Avi
 
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
 
 
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/