From e37eab3b7a5ee0680315d690cd18317fbcd7f19d Mon Sep 17 00:00:00 2001 From: jendib Date: Thu, 5 Sep 2013 11:34:53 +0200 Subject: [PATCH] All users can access logs --- docs-parent/TODO | 3 +-- .../main/java/com/sismics/docs/rest/resource/AppResource.java | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs-parent/TODO b/docs-parent/TODO index cd36cb2f..93acc0cd 100644 --- a/docs-parent/TODO +++ b/docs-parent/TODO @@ -1,4 +1,3 @@ - Disable the whole document edit form while uploading files (client) - Change browser title while uploading (client) -- Automatic backup system using Quartz (server) -- Check user role on logs polling (client) \ No newline at end of file +- Automatic backup system using Quartz (server) \ No newline at end of file diff --git a/docs-web/src/main/java/com/sismics/docs/rest/resource/AppResource.java b/docs-web/src/main/java/com/sismics/docs/rest/resource/AppResource.java index ead2c4cb..4d94ac10 100644 --- a/docs-web/src/main/java/com/sismics/docs/rest/resource/AppResource.java +++ b/docs-web/src/main/java/com/sismics/docs/rest/resource/AppResource.java @@ -109,7 +109,6 @@ public class AppResource extends BaseResource { if (!authenticate()) { throw new ForbiddenClientException(); } - checkBaseFunction(BaseFunction.ADMIN); // TODO Change level by minLevel (returns all logs above) // Get the memory appender