[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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 at adamfield.net<mailto:adam at adamfield.net>>:
Hi Avi
I don?t think so. What?s your use-case?
--
Adam
From: <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of "Stenger, Avischai" <avischai.stenger at ulb.tu-darmstadt.de<mailto:avischai.stenger at ulb.tu-darmstadt.de>>
Reply-To: <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Date: Thursday, 1 June 2017 15:30
To: "eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>" <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at 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
*** 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170601/d3304d3c/attachment-0001.html