Revision 5322
Added by berkley almost 14 years ago
MetacatHandler.java | ||
---|---|---|
1014 | 1014 |
// TODO MCD, this should read from disk as well? |
1015 | 1015 |
//*** This is a metadata doc, to be returned in a skin/custom format. |
1016 | 1016 |
//*** Add param to indicate if public has read access or not. |
1017 |
logMetacat.debug("User: \n" + user); |
|
1017 | 1018 |
if (!user.equals("public")) { |
1018 | 1019 |
if (DocumentImpl.hasReadPermission("public", null, docid)) |
1019 | 1020 |
params.put("publicRead", new String[] {"true"}); |
Also available in: Unified diff
added a method in IdentifierManager to get a guid from a docid and rev. added fields in the documentinfo replication document to pass the guid. now need to handle the guid and insert it into the table if its found