Difference: ElenaCukanovaite (8 vs. 9)

Revision 916 Mar 2013 - tmpsubs5.sh

Line: 31 to 31
 
Added:
>
>
<--
Turn off the unwanted display of the user's personal details meta-data by the TWikiForm UserForm.
Displaying this information (selectively) is done by the DisplayUserDetails include topic below.
Please DO NOT alter these items.  
-->
 

<--

This TOPIC is included from each users home topic page (eg. http://hostname/twiki/bin/view/JoeBloggs) and displays their account details using the meta-data stored in their home topic file. For this reason the ?raw=debug URL parameter must not be permitted for non-authenticated users because it displays the topic's meta-data. Which item are displayed depends on whether an authenticated user is logged on and if so who.

The motivation for producing this feature was to replace the default TWiki forms based approach which produces a table displaying the same information in the users' home topic using the meta-data record,

but permits no control over which items (eg. the user's loginname) are displayed to (eg. to non-authenticated users).

How to control which items in the table below are visible. ====================================================== (1) Items with the condition "0=0" are visible to everyone on the Internet who has access to this page. (2) Items with the condition "context authenticated" are only visible to registered & logged-on TWiki users. (3) Items with the condition "'Public.TWikiGuest' ingroup 'TWikiAdminGroup' are only visible to the TWiki Admin team.

See the file /home/tcrane/work/newtwiki/BrianTest.txt for an illustration of the syntax for doing this within a user's home topic, such that the user can adjust the visible items themselves.

Note: It is essential that the meta-data records of the form, are changed to, otherwise the will return a blank "User Item" field.

Tom Crane, Wed Oct 31 18:08:20 GMT 2012. -->

RHUL User Account Details

User Item Value
First Name Elena
Last Name Cukanovaite
LoginName  
WikiName ElenaCukanovaite
Titles Undergraduate - M.Sci.
Email  
Telephone  
Department Physics
Room  
Organization Dept. Physics, RHUL
URL  
Location Egham
Region Surrey
Country United Kingdom
Status Update  
Information  

Changed:
<
<
<--%META:FORM{name="Public.UserForm"}%-->
>
>
META FORM name="Public.UserForm"
 
FORM FIELD First Name FirstName Elena
FORM FIELD Last Name LastName Cukanovaite
FORM FIELD LoginName Loginname zxap014
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback