Commit a9e55caedcb59a1e44c1ed00a57c0d079d7deb1a
1 parent
ffc56f5c
Fix Customer User permissions for RPC call.
Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -43,7 +43,8 @@ public class CustomerUserPremissions extends AbstractPermissions { |
43 | 43 | } |
44 | 44 | |
45 | 45 | private static final PermissionChecker customerEntityPermissionChecker = |
46 | - new PermissionChecker.GenericPermissionChecker(Operation.READ, Operation.READ_CREDENTIALS, Operation.READ_ATTRIBUTES, Operation.READ_TELEMETRY) { | |
46 | + new PermissionChecker.GenericPermissionChecker(Operation.READ, Operation.READ_CREDENTIALS, | |
47 | + Operation.READ_ATTRIBUTES, Operation.READ_TELEMETRY, Operation.RPC_CALL) { | |
47 | 48 | |
48 | 49 | @Override |
49 | 50 | public boolean hasPermission(SecurityUser user, Operation operation, EntityId entityId, HasTenantId entity) { | ... | ... |