fix(auth_mnesia): bump up emqx_mgmt to 4.3.10
This commit is contained in:
parent
19fc143f41
commit
506be21aa2
|
@ -1,6 +1,6 @@
|
|||
{application, emqx_management,
|
||||
[{description, "EMQ X Management API and CLI"},
|
||||
{vsn, "4.3.10"}, % strict semver, bump manually!
|
||||
{vsn, "4.3.11"}, % strict semver, bump manually!
|
||||
{modules, []},
|
||||
{registered, [emqx_management_sup]},
|
||||
{applications, [kernel,stdlib,minirest]},
|
||||
|
|
|
@ -495,7 +495,7 @@ is_new_acl_data(#{<<"action">> := _, <<"access">> := _,
|
|||
is_new_acl_data(_) -> false.
|
||||
|
||||
is_old_acl_data(#{<<"login">> := _, <<"topic">> := _,
|
||||
<<"allow">> := Allow, <<"action">> := _}) -> is_boolean(Allow);
|
||||
<<"allow">> := Allow, <<"action">> := _}) -> is_boolean(any_to_atom(Allow));
|
||||
is_old_acl_data(_) -> false.
|
||||
|
||||
do_import_acl_mnesia_by_old_data(Acls) ->
|
||||
|
|
Loading…
Reference in New Issue