feat(authz): enable feature for both CE and EE
This commit is contained in:
parent
1ce6a225ae
commit
6db02d6b49
|
@ -528,16 +528,8 @@ read_acl_file(#{<<"path">> := Path} = Source) ->
|
||||||
%% Extednded Features
|
%% Extednded Features
|
||||||
%%------------------------------------------------------------------------------
|
%%------------------------------------------------------------------------------
|
||||||
|
|
||||||
-if(?EMQX_RELEASE_EDITION == ee).
|
|
||||||
|
|
||||||
-define(DEFAULT_RICH_ACTIONS, true).
|
-define(DEFAULT_RICH_ACTIONS, true).
|
||||||
|
|
||||||
-else.
|
|
||||||
|
|
||||||
-define(DEFAULT_RICH_ACTIONS, false).
|
|
||||||
|
|
||||||
-endif.
|
|
||||||
|
|
||||||
-define(FEATURE_KEY(_NAME_), {?MODULE, _NAME_}).
|
-define(FEATURE_KEY(_NAME_), {?MODULE, _NAME_}).
|
||||||
|
|
||||||
feature_available(rich_actions) ->
|
feature_available(rich_actions) ->
|
||||||
|
|
Loading…
Reference in New Issue