Ilya Averyanov
77895f2555
feat(authz): fix typos and style for Retain & QoS authz feature
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2023-07-07 19:40:34 +03:00
Ilya Averyanov
7de26a1776
feat(authz): use extensible map format for actions in authz rules
...
* support authorization on retain, qos fields
* refactored authz tests heavily
2023-07-07 19:40:34 +03:00
zhongwencool
aac5b85d26
feat: authz support merge sources
2023-06-11 09:11:17 +08:00
某文
c27d844244
feat: improve authz/bridge/rule_engine/schema_registry config update
2023-06-01 23:20:56 +08:00
Zaiming (Stone) Shi
dbc10c2eed
chore: update copyright year 2023
2023-01-02 09:22:27 +01:00
JimMoen
341973880d
fix(authz): refine authz-http api with default headers
2022-04-19 18:57:01 +08:00
JimMoen
82559b9b08
style: erlfmt apps/emqx_authz
2022-04-01 02:19:46 +08:00
JimMoen
02ed2148d7
refactor: move api `top` -> `front`, `bottom` -> `rear`
2022-03-15 10:28:46 +08:00
JimMoen
68c473c7cc
refactor(authz_api): authz sources move api style
2022-03-15 10:28:46 +08:00
JimMoen
c01aa3c580
style(authz_mnesia): api spec style, rm duplicated module name
2022-03-10 10:01:40 +08:00
Ilya Averyanov
634d861b90
chore(codestyle): add formatting check for Elixir code
2022-02-18 19:43:48 +03:00
EMQ-YangM
fae91d72f2
fix(emqx_authz): fix function 'create_resource'
2022-02-11 18:36:55 +08:00
Ilya Averyanov
0a1a68245d
chore(authz): test Mysql backend with real Mysql
2021-12-17 14:18:54 +03:00
Ilya Averyanov
abdb98ffa2
refactor(authz): hide mnesia authz implementation details
...
* Eliminate type and record sharing through `emqx_authz.hrl`.
* Hide all mria/mnesia interactions inside mnesia authz backend.
2021-12-13 21:23:58 +03:00
Ilya Averyanov
b7d227d2ef
chore(authz): move file backend to a separate module
2021-12-08 21:38:10 +03:00
Ilya Averyanov
056558e445
chore(authz): encapsulate authz backend logic
2021-12-08 21:38:10 +03:00
JimMoen
d7c7292321
fix(authz): placeholder regular replace
2021-11-24 11:10:30 +08:00
JimMoen
a65597e302
Authz api mnesia refactor ( #6082 )
...
* refactor(authz): macro move to hrl and rename, add meta example
* refactor(authz_api_mnesia): use config schemas for request validations
* chore(authz_api_mnesia): suite module typerefl fit
* chore(style): authz_api_mnesia style format
2021-11-11 16:29:36 +08:00
zhongwencool
d784e63b9f
emqx_conf ( #5939 )
...
* feat(emqx_conf): move conf manager for emqx_machine to emqx_conf
* chore(emqx_conf): change emqx:get_config/2 to emqx_conf:get/2
* fix: common test failed
* fix: badmatch by typo wrong key
* fix(emqx_conf): get the wrong core nodes
* fix(emqx_conf): get core node's tnx_id not latest tnx_id
* fix: add ro_transation when copy conf file
* fix: delete debug info
* fix: change ekka_rlog to mria_rlog
* fix: remove cluster_rpc from emqx_machine.
* fix: don't call ekka:start/0 explicitly
* fix: ekka should be start in emqx_machine
2021-10-21 18:08:51 +08:00
Zaiming Shi
9c414096c7
test(authz): test HTTP apis for built-in-database
2021-10-20 09:17:21 +08:00
zhanghongtong
dd3b91e13f
fix(authz api): fix update config error
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-29 13:46:49 +08:00
Zaiming Shi
8b6eeef7fc
refactor(authz): use macro for cmd names
2021-09-26 16:19:47 +08:00
zhanghongtong
673b12a46d
chore(authz mnesia): in the mnesia table, replace atom with int
2021-09-26 16:19:47 +08:00
zhanghongtong
ed6f4895e2
feat(authz mnesia): add api
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-09-26 16:19:47 +08:00
JimMoen
6edc9f4221
fix(emqx_types): spec refs `emqx_types.erl` instead directly.
2021-09-17 19:28:22 +08:00
zhanghongtong
46fb99d44e
chore(emqx_authz): rename rules to sources in emqx_authz
2021-08-27 17:51:11 +08:00
zhanghongtong
a2bafd1a18
feat(authz): support authorization config file part 2
2021-08-25 10:15:00 +08:00
zhanghongtong
a7fac1a7a3
feat(authz): support authorization config file part 1.
2021-08-25 10:15:00 +08:00
Rory Z
45ee504dc5
chore(authz): rename ACL to AuthZ
2021-07-05 17:57:03 +08:00
zhanghongtong
bf4c31b745
chore(authz): use atom key for hocon config
2021-07-01 18:29:32 +08:00
Rory Z
263aaff6d6
feat: add authz ( #4852 )
...
* feat(authorization): add authorization api
* feat(authorization): add check function
* feat(authorization): use hocon config file
* feat(authz): add mysql connector
* feat(authz): support pgsql
* feat(connector): support redis
* chore(authz): use "publish/subscribe/all" instead of "pub/sub/pubsub"
2021-06-23 10:55:38 +08:00