Difference: PietroGiampa (2 vs. 3)

Revision 331 Oct 2012 - convert_5facls_2esh

Line: 34 to 34
 
Changed:
<
<
META FORM name="Public.UserForm"
>
>

<--

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 Pietro
Last Name Giampa
Loginname  
Wikiname PietroGiampa
Titles Undergraduate - M.Sci.
Email  
Telephone  
Department Physics
Room T243
Organization Dept. Physics, RHUL
URL  
Location Egham
Region Surrey
Country United Kingdom
Status Update  
Information  

<--%META:FORM{name="Public.UserForm"}%-->
 
FORM FIELD First Name FirstName Pietro
FORM FIELD Last Name LastName Giampa
FORM FIELD LoginName Loginname ztap052
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 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