Changes between Version 2 and Version 3 of HiddenElements


Ignore:
Timestamp:
Apr 20, 2009, 2:32:54 AM (15 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HiddenElements

    v2 v3  
    22
    33|| '''Date''' || 2008/06/20 ||
    4 || '''Contact(s)''' || Simon Pigot, Stefano Giaccio ||
     4|| '''Contact(s)''' || Simon Pigot, Stefano Giaccio, Just ||
    55|| '''Last edited''' || [[Timestamp]] ||
    66|| '''Status''' || draft ||
    7 || '''Assigned to release''' || 2.3 ||
    8 || '''Resources''' || Available ||
     7|| '''Assigned to release''' || 2.5 ||
     8|| '''Resources''' || Done in geocat.ch sandbox ||
    99
    1010== Overview ==
     
    1313
    1414Stage 1 – elements are not group related – apply to internet/public/intranet groups only[[BR]]
    15 Stage 2 – add additional granularity via interface (component 2)[[BR]]
     15Stage 2 – add additional granularity via interface [[BR]]
     16
     17[[Image(editor-hidden-elements-legend.png)]]
     18
    1619
    1720=== Proposal Type ===
     
    35385 components to deal with:
    3639
    37 '''1.''' Template editor: additional controls for selecting elements that are to be hidden. Selected elements written to database on save/save and close.[[BR]]
    38 '''2.''' Need an additional permissions interface to associate groups with XPaths (stage 2 – more sophisticated users)[[BR]]
    39 '''3.''' Database changes: additional dependent table on OperationAllowed – OperationAllowedElements – schema: MetadataId, Xpath – related to OperationAllowed by MetadataId and GroupId[[BR]]
    40 '''4.''' Query table and retrieve XPaths based on GroupId of UserSession, apply XPaths to JDOM tree before record returned from service – add ISO attribute (gco:nilReason=”withheld”) for ISO records only – track down all locations where this can happen – could be possible to apply this in DataManager getMetadata[[BR]]
     40'''1.''' Metadata/Template editor: additional controls for selecting elements that are to be hidden to a specific level internet/intranet/public. [[BR]]
     41'''2.''' Selected elements written to database on save/save and close.[[BR]]
     42[[Image(editor-hidden-elements.png)]]
     43
     44'''3.''' Database changes: additional dependent table HiddenMetadataElements on schema: MetadataId, Xpath [[BR]]
     45'''4.''' Query table and retrieve XPaths based on GroupId of UserSession, apply XPaths to JDOM tree before record returned from service [[BR]]
    4146'''5.''' Lucene index – concealed elements cannot be indexed because the index can be searched by anyone – the permissions systems is not applied until the record is displayed. The interesting outcome of leaving concealed info in the index is that a user could search and get a result on the concealed info but would not be able to see it when the record was displayed. [[BR]]
    4247
    4348
     49New improvements not done :
     50 * add ISO attribute (gco:nilReason=”withheld”) for ISO records only – track down all locations where this can happen – could be possible to apply this in DataManager getMetadata
     51 * group level authorisation.
    4452
    4553=== Backwards Compatibility Issues ===
    4654
    47 Previous installations (2.2 and earlier) will need to migrate to a new database if they want to use this – the implementation could be made to tolerate the missing table if necessary.
    48 
     55Previous installations (2.2 and earlier) will need to migrate to a new database if they want to use this.
    4956Harvesting from versions < 2.2 – filter is applied to conceal elements regardless of group.
    5057