Revision 5099
Added by daigle over 14 years ago
PermissionController.java | ||
---|---|---|
548 | 548 |
pStmt.close(); |
549 | 549 |
|
550 | 550 |
throw new |
551 |
SQLException("PermissionControl.hasPermission(). " +
|
|
551 |
SQLException("PermissionControl.hasPermission - " +
|
|
552 | 552 |
"Error checking ownership for " + principals[0] + |
553 | 553 |
" on document #" + docId + ". " + e.getMessage()); |
554 | 554 |
}//catch |
... | ... | |
658 | 658 |
//if reach here, means there is no permssion record for given names and |
659 | 659 |
//docid. So throw a exception. |
660 | 660 |
|
661 |
throw new Exception("There is no permission record for user"+principals[0]+
|
|
662 |
"at document "+docId);
|
|
661 |
throw new Exception("PermissionController.isAllowFirst - There is no permission record for user "+ principals[0] +
|
|
662 |
" at document " + docId);
|
|
663 | 663 |
|
664 | 664 |
}//isAllowFirst |
665 | 665 |
|
Also available in: Unified diff
Change access section in getaccesscontrol and getdocumentinfo apis to be more eml 2.1.0 compliant. Add a block access option to setaccess api.