Fix a test

This commit is contained in:
James Agnew 2018-11-16 13:15:14 +01:00
parent 6a6451f694
commit fad53c6669
4 changed files with 13 additions and 3 deletions

View File

@ -237,7 +237,7 @@ public class SearchBuilder implements ISearchBuilder {
match = Collections.singleton(-1L);
}
Join<ResourceTable, ResourceLink> join = myResourceTableRoot.join("myIncomingResourceLinks", JoinType.LEFT);
Join<ResourceTable, ResourceLink> join = myResourceTableRoot.join("myResourceLinksAsTarget", JoinType.LEFT);
Predicate predicate = join.get("mySourceResourcePid").in(match);
myPredicates.add(predicate);

View File

@ -1,5 +1,11 @@
package ca.uhn.fhir.rest.server.interceptor.auth;
public interface IAuthRuleBuilderGraphQL {
/**
* Note that this is an all-or-nothing grant for now, it
* is not yet possible to specify individual resource security when
* using GraphQL.
*/
IAuthRuleFinished any();
}

View File

@ -20,8 +20,6 @@ package ca.uhn.fhir.rest.server.interceptor.auth;
* #L%
*/
import com.google.common.base.CharMatcher;
public interface IAuthRuleBuilderRule {
/**

View File

@ -33,6 +33,12 @@
have a @Block class as a child element. Thanks to Lars Gram Mathiasen for
reporting and providing a test case!
</action>
<action type="add">
AuthorizationInterceptor now allows the GraphQL operation to be
authorized. Note that this is an all-or-nothing grant for now, it
is not yet possible to specify individual resource security when
using GraphQL.
</action>
</release>
<release version="3.6.0" date="2018-11-12" description="Food">
<action type="add">