Revision 870
Added by berkley about 23 years ago
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
fixed error where person with 'all' permission could not update the access file.