Don't incorrectly block transactions
This commit is contained in:
parent
2d7592f7a8
commit
8676489792
|
@ -111,6 +111,9 @@ class RuleImplOp extends BaseRule implements IAuthRule {
|
|||
break;
|
||||
case BATCH:
|
||||
case TRANSACTION:
|
||||
if (!(theOperation == RestOperationTypeEnum.TRANSACTION)) {
|
||||
return null;
|
||||
}
|
||||
if (theInputResource != null && requestAppliesToTransaction(ctx, myOp, theInputResource)) {
|
||||
if (getMode() == PolicyEnum.DENY) {
|
||||
return new Verdict(PolicyEnum.DENY, this);
|
||||
|
|
|
@ -6,6 +6,12 @@
|
|||
<title>HAPI FHIR Changelog</title>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="2.2" date="TBD">
|
||||
<action type="fix">
|
||||
Fix issue in AuthorizationIntetceptor where
|
||||
transactions are blocked even when they
|
||||
should not be
|
||||
</action>
|
||||
<release version="2.1" date="2016-11-11">
|
||||
<action type="add">
|
||||
STU3 structure definitions have been updated to the
|
||||
|
|
Loading…
Reference in New Issue