Format and add comments.
Handle the case of trying to insert a conflicting permission order for a document
Change access section in getaccesscontrol and getdocumentinfo apis to be more eml 2.1.0 compliant. Add a block access option to setaccess api.
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.
Move access control source to it's own directory.
Move document specific utilities to DocumentUtil from MetacatUtil. This makes it easier to define a layer between the core metacat services and the rest of the code.
Create database and shared directories for database management code and shared code respectively.
Roll back replication user changes. Fix code that converts access levels to integer and to text.
Renamed MetaCatUtil to MetacatUtil
check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)
translate numeric permission to text permission when serializing.
replicate xml_access entries across servers.see: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3464note: still needs to be tested...but needed to be checked in for other metacat installations to be updated....
Merge 1.9 changes into Head
Fixed bug where the Permission Order was always being set to 'allowFirst'.It was comparing against the constant AccessControlInterface.DENYFIRST with the variable name surrounded by quotes. Removed the quotes and updated comments.
Removed the release ant token from all files in 'src'.
release
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
Replacing debugMessage with log4j methods for logging
Don't insert "acl" as accessfileid for single file. It will be null.
A class to handle assign a access rule to a single file.