Project

General

Profile

« Previous | Next » 

Revision 957

Added by Jing Tao over 22 years ago

Add a throwing exception in haspermission method.

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
781 781
    */
782 782
  private boolean hasPermission ( Connection conn, String user,
783 783
                                  String[] groups, String docid ) 
784
                  throws SQLException
784
                  throws SQLException, Exception
785 785
  {
786 786
    // Check for READ permission on @docid for @user and/or @groups
787 787
    AccessControlList aclobj = new AccessControlList(conn);

Also available in: Unified diff