Skip to content
Snippets Groups Projects
Verified Commit d0925114 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

REVERT: some changes in Retrieve

parent 2edfcff6
Branches
Tags
2 merge requests!58REL: prepare release 0.7.2,!57F 220
Pipeline #20580 passed
...@@ -79,7 +79,7 @@ public class Retrieve extends Transaction<RetrieveContainer> { ...@@ -79,7 +79,7 @@ public class Retrieve extends Transaction<RetrieveContainer> {
protected void postTransaction() { protected void postTransaction() {
// generate Error for missing RETRIEVE:ENTITY Permission. // generate Error for missing RETRIEVE:ENTITY Permission.
for (final EntityInterface e : getContainer()) { for (final EntityInterface e : getContainer()) {
if (e.getEntityStatus() != EntityStatus.NONEXISTENT) { if (e.hasEntityACL()) {
try { try {
e.checkPermission(EntityPermission.RETRIEVE_ENTITY); e.checkPermission(EntityPermission.RETRIEVE_ENTITY);
} catch (final AuthorizationException exc) { } catch (final AuthorizationException exc) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment