Commit 60c141d3ca5b154fa48fd0a9c047c6ca504962a4

Authored by Andrii Shvaika
1 parent 3f72bc4b

Allow Customer to edit asssigned entities

... ... @@ -44,7 +44,8 @@ public class CustomerUserPermissions extends AbstractPermissions {
44 44
45 45 private static final PermissionChecker customerEntityPermissionChecker =
46 46 new PermissionChecker.GenericPermissionChecker(Operation.READ, Operation.READ_CREDENTIALS,
47   - Operation.READ_ATTRIBUTES, Operation.READ_TELEMETRY, Operation.RPC_CALL, Operation.CLAIM_DEVICES) {
  47 + Operation.READ_ATTRIBUTES, Operation.READ_TELEMETRY, Operation.RPC_CALL, Operation.CLAIM_DEVICES,
  48 + Operation.WRITE, Operation.WRITE_ATTRIBUTES, Operation.WRITE_TELEMETRY) {
48 49
49 50 @Override
50 51 @SuppressWarnings("unchecked")
... ...