Project

General

Profile

« Previous | Next » 

Revision 870

Added by berkley over 22 years ago

fixed error where person with 'all' permission could not update the access file.

View differences:

src/edu/ucsb/nceas/metacat/AccessControlList.java
589 589
                                String principal, String docid)
590 590
                 throws SQLException
591 591
  {
592
    System.out.println("Does " + principal + " have " + permission + " on " + docid);
592
    //System.out.println("Does " + principal + " have " + permission + " on " + docid);
593 593
    PreparedStatement pstmt;
594 594
    // check public access to @docid from xml_documents table
595 595
    if ( permission.equals("READ") ) {

Also available in: Unified diff