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;
|
break;
|
||||||
case BATCH:
|
case BATCH:
|
||||||
case TRANSACTION:
|
case TRANSACTION:
|
||||||
|
if (!(theOperation == RestOperationTypeEnum.TRANSACTION)) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (theInputResource != null && requestAppliesToTransaction(ctx, myOp, theInputResource)) {
|
if (theInputResource != null && requestAppliesToTransaction(ctx, myOp, theInputResource)) {
|
||||||
if (getMode() == PolicyEnum.DENY) {
|
if (getMode() == PolicyEnum.DENY) {
|
||||||
return new Verdict(PolicyEnum.DENY, this);
|
return new Verdict(PolicyEnum.DENY, this);
|
||||||
|
|
|
@ -6,6 +6,12 @@
|
||||||
<title>HAPI FHIR Changelog</title>
|
<title>HAPI FHIR Changelog</title>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<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">
|
<release version="2.1" date="2016-11-11">
|
||||||
<action type="add">
|
<action type="add">
|
||||||
STU3 structure definitions have been updated to the
|
STU3 structure definitions have been updated to the
|
||||||
|
|
Loading…
Reference in New Issue