Revision 7067
Added by Chris Jones almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java | ||
---|---|---|
724 | 724 |
// permissions are hierarchical |
725 | 725 |
List<Permission> expandedPermissions = null; |
726 | 726 |
|
727 |
// always allow CN access |
|
728 |
if ( isAdminAuthorized(session, pid, permission) ) { |
|
729 |
allowed = true; |
|
730 |
return allowed; |
|
731 |
|
|
732 |
} |
|
733 |
|
|
727 | 734 |
// for the "Verified" symbolic user |
728 | 735 |
Subject verifiedSubject = new Subject(); |
729 | 736 |
verifiedSubject.setValue(Constants.SUBJECT_VERIFIED_USER); |
Also available in: Unified diff
Incorporate isAdminAuthorized() into isAuthorized() for blanket CN access to objects.