Changeset 38832 for documented-examples


Ignore:
Timestamp:
2024-03-12T09:41:24+13:00 (7 weeks ago)
Author:
kjdon
Message:

removing html markup from shortDescription which is used as a tooltip. also reformatting the content of the pre tag so it looks nicer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/authen-e/resources/collectionConfig.properties

    r36625 r38832  
    1414dls.Keyword=How to
    1515
    16 shortDescription=<p>Collection that demonstrates document-level collection authentication in Greenstone 3.</p>
     16shortDescription=Collection that demonstrates document-level collection authentication in Greenstone 3.
    1717
    1818description1=<p>This demonstration collection contains the same material as the original Greenstone demo collection, but it includes some basic authentication commands. Two documents are publicly available (Farming snails 1 &amp; 2), while the others require logging in to view.</p> <p><center><b> To access this collection try user\:</b> <i>demo</i> <b>and password\:</b> <i>demo</i></center></p>
     
    2424description4=<p>Authentication is activated using the <i>&lt;security&gt;</i> XML element in the collectionConfig.xml file. In the example of the authen-e collection, all <i>document</i>s are set to <i>private</i> access by default, with the <i>exception</i> that they are accessible to logged in members of a <i>group</i> called <i>"demo"</i>. The <i>security</i> element further defines a set of documents (<i>documentSet</i>) called "always-public" which contains 2 documents denoted by their document identifiers/OIDs (fb33fe and fb34fe). This documentSet specifies an exceptional case\: the documents in the documentSet are <i>not</i> private access like other documents in the collection are by default, but can instead be accessed by anyone in <i>any</i> group, as no group is specified for their access. \n\
    2525   <pre>&lt;security default_access="private" scope="document"&gt; \n\
    26         &lt;exception&gt; \n\
    27             &lt;group name="demo"/&gt; \n\
    28         &lt;/exception&gt; \n\
    29         &lt;exception&gt; \n\
    30             &lt;documentSet name="always-public"/&gt; \n\
    31             &lt;group name=""/&gt; \n\
    32         &lt;/exception&gt; \n\
    33         &lt;documentSet name="always-public"&gt; \n\
    34             &lt;match&gt;fb33fe&lt;/match&gt; \n\
    35             &lt;match&gt;fb34fe&lt;/match&gt; \n\
    36         &lt;/documentSet&gt; \n\
    37     &lt;/security&gt;</pre> \n\
     26   \t&lt;exception&gt; \n\
     27        \t\t&lt;group name="demo"/&gt; \n\
     28   \t&lt;/exception&gt; \n\
     29   \t&lt;exception&gt; \n\
     30   \t\t&lt;documentSet name="always-public"/&gt; \n\
     31   \t\t\t&lt;group name=""/&gt; \n\
     32   \t&lt;/exception&gt; \n\
     33   \t&lt;documentSet name="always-public"&gt; \n\
     34   \t\t&lt;match&gt;fb33fe&lt;/match&gt; \n\
     35   \t\t&lt;match&gt;fb34fe&lt;/match&gt; \n\
     36   \t&lt;/documentSet&gt; \n\
     37   &lt;/security&gt;</pre> \n\
    3838</p>
    3939
Note: See TracChangeset for help on using the changeset viewer.