diff --git a/src/mqttgw_http_subscription.erl b/src/mqttgw_http_subscription.erl index 575d852..53d499f 100644 --- a/src/mqttgw_http_subscription.erl +++ b/src/mqttgw_http_subscription.erl @@ -81,6 +81,7 @@ check_authz(<<"Bearer ",Token/binary>>, {enabled, AuthnCfg}) -> case maps:find(label, AccountId) of {ok, <<"conference">>} -> {ok, AccountId}; {ok, <<"event">>} -> {ok, AccountId}; + {ok, <<"ulms">>} -> {ok, AccountId}; _ -> {error, #{reason_code => not_allowed}} end catch