commit | 4c3a6f90d05ce5689dd1b1af141334b906699872 | [log] [tgz] |
---|---|---|
author | margaretha <margaretha@ids-mannheim.de> | Wed May 24 19:07:03 2017 +0200 |
committer | margaretha <margaretha@ids-mannheim.de> | Wed May 24 19:07:03 2017 +0200 |
tree | b955a86592ad977c4af0fd41181625138ad95086 | |
parent | 7745d7ed44c8e978c04cb44e22255342131e24ad [diff] |
Updated corpusAccess in the matchinfo service Change-Id: If34bb497f8497133eeba3d73e0368d2982cb394b
diff --git a/src/main/java/de/ids_mannheim/korap/web/service/full/ResourceService.java b/src/main/java/de/ids_mannheim/korap/web/service/full/ResourceService.java index c877b04..575e4d2 100644 --- a/src/main/java/de/ids_mannheim/korap/web/service/full/ResourceService.java +++ b/src/main/java/de/ids_mannheim/korap/web/service/full/ResourceService.java
@@ -1228,8 +1228,8 @@ // } - //EM: CorpusAccess corpusAccess = tokenContext.getCorpusAccess(); - CorpusAccess corpusAccess = CorpusAccess.FREE; + //EM: I dont need user here just corpusAccess + CorpusAccess corpusAccess = user.getCorpusAccess(); Pattern p; switch (corpusAccess) { case PUB: