Project

General

Profile

# Date Author Comment
6527 09/29/2011 11:43 PM Matt Jones

Bug fix for access control rules coming in from the dataone system metadata. Previously, the code used getLocalId() to get the docid to insert into the XML access table, but that docid included the revision number (e.g., foo.1.1), which it shouldn't. Now use the AccessionNumber class to strip off the rev to get a real docid for insertion into the table.

6422 09/14/2011 11:30 AM ben leinfelder

use both guid and docid when creating access row - then either mechanism can be used when retrieving the access rules

6122 06/06/2011 03:28 PM ben leinfelder

include GUID column for xml_access and related methods for storing/retrieving access rules

6108 05/27/2011 11:55 AM ben leinfelder

read and write D1 access policy rules from metacat xml_access table.
still TBD: which mechanism takes precedence when there are systemMetadata access rules and EML access rules and other access rules?

6017 03/23/2011 01:31 PM ben leinfelder

include accessfileid and subtreeid when inserting xml_access values

5734 12/14/2010 02:38 PM berkley

fixed bug where permission would get set to -1 for no good reason

5120 11/10/2009 03:13 PM daigle

add connection serial number where it was missing.

5115 11/09/2009 10:07 AM daigle

Format and add comments.

5108 11/06/2009 02:43 PM daigle

move dbconnection object out of base class and create it for each db access so it can be released

5099 11/03/2009 10:31 AM daigle

Change access section in getaccesscontrol and getdocumentinfo apis to be more eml 2.1.0 compliant. Add a block access option to setaccess api.

5098 10/30/2009 03:39 PM daigle

change AccessControlForSingleFile to only be instantiated for one file. move ACL methods to AccessControlForSingleFile. Change format of access sections returned to EML 2.1.0.

5091 10/16/2009 11:12 AM daigle

Create access dao and centralized db access classes. Update create access code to combine access records for principal/doc/accesstype when multiple exist.