Project

General

Profile

Statistics
| Revision:

metacat / src / edu / ucsb / nceas / metacat / accesscontrol @ 8556

Name Size Revision Age Author Comment
AccessControlException.java 1.71 KB 5115 about 10 years daigle Format and add comments.
AccessControlForSingleFile.java 16.4 KB 7475 almost 7 years ben leinfelder move DocInfo parsing into utilities project so ...
AccessControlList.java 26.9 KB 8173 over 6 years ben leinfelder avoid SQL errors when processing very old objec...
AccessRule.java 2.98 KB 6124 over 8 years Chris Jones Merged in the D1_0_6_2_BRANCH changes that incl...
AccessSection.java 4.6 KB 6124 over 8 years Chris Jones Merged in the D1_0_6_2_BRANCH changes that incl...
PermOrderException.java 1.68 KB 5115 about 10 years daigle Format and add comments.
XMLAccessAccess.java 36.4 KB 7475 almost 7 years ben leinfelder move DocInfo parsing into utilities project so ...

Latest revisions

# Date Author Comment
8173 09/06/2013 02:22 PM ben leinfelder

avoid SQL errors when processing very old objects of type: "-//ecoinformatics.org//eml-access-2.0.0beta6//EN"

7475 12/12/2012 02:38 PM ben leinfelder

move DocInfo parsing into utilities project so that it can be used by Morpho as well as Metacat.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5737

7307 07/12/2012 12:21 PM ben leinfelder

use docid, not the guid when returning the accesscontrol block

7291 07/06/2012 05:29 PM ben leinfelder

use docid (not guid) when instantiating the PermissionController. Was getting an error with DOI-ified identifier and the metacat getaccesscontrol action:
https://knb.ecoinformatics.org/knb/metacat?action=getaccesscontrol&docid=Collinge.3.28
<error>
AccessControlForSingleFile.getACL() - MCDB error when getting ACL: No guid registered for docid doi:10.5063/AA/Collinge.3.28...

6779 12/13/2011 03:30 PM ben leinfelder

remove xml_acccess.docid reference (oops)
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5560

6744 12/07/2011 12:18 PM ben leinfelder

refactor Metacat access handling to be on a per-revision basis so that it more closely aligns with the DataONE approach
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5560

6606 11/04/2011 02:45 PM ben leinfelder

uses prepared statement instead of plain old statement.
deprecated the DBConnection.createStatement() method to discourage direct parameter value use in favor of parameter binding.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

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

View revisions

Also available in: Atom