Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6536 10/14/2011 02:57 PM ben leinfelder

delete the xml access rules by either docid or guid to make sure we have the most up to date information

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

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

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

6016 03/23/2011 12:51 PM ben leinfelder

use access control dao for setting access in EML parser. send additional xml_access info in replication request

5742 12/15/2010 11:05 AM berkley

fixed bug where comparisons didn't work because of my change this morning

5741 12/15/2010 10:29 AM berkley

made this method more robust

5735 12/14/2010 02:47 PM berkley

fixed bug in new code

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.

5109 11/06/2009 02:44 PM daigle

Handle the case of trying to insert a conflicting permission order for a document

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

5100 11/03/2009 11:52 AM daigle

Use OR to add permissions, not AND

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.

5089 10/16/2009 11:10 AM daigle

Move access control source to it's own directory.