Project

General

Profile

« Previous | Next » 

Revision 968

Added by Jing Tao almost 23 years ago

Method endElement in AccessControList was revised. A feature that put access document itset into xml_access was added.

View differences:

src/edu/ucsb/nceas/metacat/AccessControlList.java
333 333
            docid = docID.getIdentifier();
334 334
            insertPermissions(docid,leavingTagName);
335 335
          }
336
          
337
          //should insert permission for aclid itself into database
338
          DocumentIdentifier aclIdItself = new DocumentIdentifier(aclid);
339
          String aclIdString = aclIdItself.getIdentifier();
340
          insertPermissions(aclIdString,leavingTagName);
341
          
336 342

  
337 343
        } catch (SQLException sqle) {
338 344
          throw new SAXException(sqle);

Also available in: Unified diff