changeset 1796:539a7e34b6b3

Allow clients to save notes PR 2627 Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-September/016145.html
author Omair Majid <omajid@redhat.com>
date Wed, 16 Sep 2015 10:45:57 -0400
parents a48bb736ff5e
children 7f2a3a806c77
files setup/command/src/main/java/com/redhat/thermostat/setup/command/internal/model/UserRoles.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup/command/src/main/java/com/redhat/thermostat/setup/command/internal/model/UserRoles.java	Wed Sep 16 10:30:04 2015 -0400
+++ b/setup/command/src/main/java/com/redhat/thermostat/setup/command/internal/model/UserRoles.java	Wed Sep 16 10:45:57 2015 -0400
@@ -103,6 +103,7 @@
     final String[] CLIENT_ROLES = {
             UserRoles.ACCESS_REALM,
             UserRoles.LOGIN,
+            UserRoles.WRITE, // clients need to write notes
             UserRoles.READ,
             UserRoles.PREPARE_STATEMENT,
             UserRoles.CMD_CHANNEL_GENERATE,
@@ -127,4 +128,4 @@
             UserRoles.GRANT_CMD_CHANNEL_PING,
             UserRoles.GRANT_CMD_PROFILE_VM
     };
-}
\ No newline at end of file
+}