Zaiming (Stone) Shi
|
e2f9b111b6
|
Merge pull request #5944 from Spycsh/slog
chore: change to structured logging under apps/emqx/authz and authn
|
2021-10-20 07:25:40 +02:00 |
|
Spycsh
|
ac51ed81b7
|
chore: change to structured logging under apps/emqx/authz and authn
|
2021-10-20 10:00:13 +08:00 |
|
Zaiming Shi
|
9c414096c7
|
test(authz): test HTTP apis for built-in-database
|
2021-10-20 09:17:21 +08:00 |
|
Zaiming Shi
|
ae854db02d
|
test: fix match pattern of returned rules
|
2021-10-20 09:17:21 +08:00 |
|
Zaiming Shi
|
891a185eda
|
test: enable emqx_authz_api_mnesia_SUITE tests
|
2021-10-20 09:17:21 +08:00 |
|
zhongwencool
|
c73205a589
|
Ct helpers migrate (#5943)
* chore: common test
* chore: delete emqx_ct_helpers deps
|
2021-10-18 13:45:52 +08:00 |
|
Tobias Lindahl
|
aa19c2a908
|
chore: Remove emqx_ct_helpers as dependency
|
2021-10-15 10:40:57 +02:00 |
|
zhanghongtong
|
674106ffa7
|
fix(authz api): fix error for update file type
|
2021-10-12 18:19:18 +08:00 |
|
zhanghongtong
|
084668bdd9
|
fix(authz): fix error in type determination when updating sources
|
2021-10-12 17:37:37 +08:00 |
|
lafirest
|
3524942766
|
fix: change all ~s in io format to ~ts
we should use unicode to replace latin1
|
2021-10-12 15:09:24 +08:00 |
|
zhanghongtong
|
585c4892ce
|
fix(authz api): fix error for read cert file
|
2021-10-12 09:44:52 +08:00 |
|
zhanghongtong
|
5d1772a6b4
|
fix(authz api): fix error for move source when disable source
|
2021-10-11 14:07:10 +08:00 |
|
zhanghongtong
|
24b0fccba9
|
fix(authz): Fix no match error after deleting a source
|
2021-10-11 14:04:10 +08:00 |
|
zhanghongtong
|
7c28a3f6c1
|
fix(authz api): fix 404 error when no have "all" rules
|
2021-10-11 14:03:48 +08:00 |
|
zhanghongtong
|
4044fd8122
|
chore(authz mnesia api): update schema
Signed-off-by: zhanghongtong <rory-z@outlook.com>
|
2021-09-29 18:28:55 +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 |
|
zhanghongtong
|
8915f61382
|
fix(authz api): fix badarg error
Signed-off-by: zhanghongtong <rory-z@outlook.com>
|
2021-09-28 09:13:17 +08:00 |
|
zhanghongtong
|
c4e0eff772
|
fix(authz api): fix schema error
|
2021-09-28 09:13:17 +08:00 |
|
Spycsh
|
c3b980fde9
|
chore: fix Windows compilation process
|
2021-09-27 21:24:10 +08:00 |
|
zhanghongtong
|
c5494d5c90
|
chore(authz mnesia api): ensure built-in-database type source is disabled before purge.
|
2021-09-26 16:38:08 +08:00 |
|
Zaiming Shi
|
8b6eeef7fc
|
refactor(authz): use macro for cmd names
|
2021-09-26 16:19:47 +08:00 |
|
Zaiming Shi
|
65d0b70ff6
|
refactor(authz): simplify config update impl
|
2021-09-26 16:19:47 +08:00 |
|
Zaiming Shi
|
f18d0c7167
|
fix(authz): delete unused config field
path is not used for built-in-database type
|
2021-09-26 16:19:47 +08:00 |
|
zhanghongtong
|
7d18250a1d
|
chore(authz mnesia): fix dialyzer error
|
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
|
9b3917e0d3
|
chore(authz mnesia api): get method supports paging
Signed-off-by: zhanghongtong <rory-z@outlook.com>
|
2021-09-26 16:19:47 +08:00 |
|
zhanghongtong
|
1a02e0cfd1
|
feat(authz mnesia api): post accept array data
|
2021-09-26 16:19:47 +08:00 |
|
zhanghongtong
|
2dc3b51675
|
chore(authz): use ekka_mnesia instead of mnesia
|
2021-09-26 16:19:47 +08:00 |
|
zhanghongtong
|
b583509976
|
feat(authz): add authorize for mnesia
|
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 |
|
lafirest
|
6e3ec6c9db
|
fix(schema): fix authn/z's schema time unit
|
2021-09-26 14:41:46 +08:00 |
|
zhanghongtong
|
11c90cfce4
|
fix(authz api): fix file type error
|
2021-09-26 12:35:35 +08:00 |
|
zhanghongtong
|
d1e85e8d00
|
feat(authz): acl.conf is compatible with the 4.x syntax
|
2021-09-24 09:59:45 +08:00 |
|
zhanghongtong
|
4f0684e887
|
chore(authz api): delete healthy status for get method
|
2021-09-24 09:20:54 +08:00 |
|
zhanghongtong
|
9ac1e9fcd9
|
chore(authz api): use raw config for get method
|
2021-09-23 16:33:06 +08:00 |
|
zhanghongtong
|
00d7d66871
|
chore(authz): rename mongo to mongodb
|
2021-09-22 11:28:31 +08:00 |
|
JimMoen
|
6edc9f4221
|
fix(emqx_types): spec refs emqx_types.erl instead directly.
|
2021-09-17 19:28:22 +08:00 |
|
tigercl
|
fdbde321cd
|
Merge pull request #5742 from tigercl/chore/gen_id
chore(gen_id): using emqx_misc:gen_id/0, /1
|
2021-09-17 09:24:42 +08:00 |
|
zhanghongtong
|
fa467d0741
|
chore(authz): rename pgsql to postgresql
Signed-off-by: zhanghongtong <rory-z@outlook.com>
|
2021-09-17 09:16:38 +08:00 |
|
zhouzb
|
9df842eeb8
|
fix(test): fix test case of authz
|
2021-09-16 16:51:52 +08:00 |
|
zhouzb
|
43ce727632
|
chore(gen_id): using emqx_misc:gen_id/0, /1
|
2021-09-16 16:51:46 +08:00 |
|
JimMoen
|
deac54c847
|
chore(for editor): Add comments for Emacs major mode.
|
2021-09-16 15:43:30 +08:00 |
|
zhanghongtong
|
129a171de2
|
chore(authz): api returns the original content of the file
Signed-off-by: zhanghongtong <rory-z@outlook.com>
|
2021-09-16 13:40:16 +08:00 |
|
zhanghongtong
|
ca4b1ca3b5
|
fix(auth mnesia api): fix the issue of missing line breaks in multi-line rules
|
2021-09-16 13:40:16 +08:00 |
|
Shawn
|
304c5613ac
|
refactor(resource): rename the emqx_resource:update/4 to recreate/4
|
2021-09-15 17:46:42 +08:00 |
|
zhanghongtong
|
c322957257
|
chore(authz): fix spelling errors
|
2021-09-14 11:16:47 +08:00 |
|
zhanghongtong
|
4fa816fa97
|
fix(auth mnesia api): fix api error when delete sources
|
2021-09-13 19:55:39 +08:00 |
|
zhanghongtong
|
d443d26fce
|
fix(auth mnesia api): fix api error for file type
|
2021-09-13 17:13:30 +08:00 |
|
tigercl
|
09c376c1e5
|
Merge pull request #5707 from terry-xiaoyu/bridge_apis
feat(bridges): avoid clientid competition between bridges on differen…
|
2021-09-10 19:32:20 +08:00 |
|
zhanghongtong
|
6095253126
|
chore(emqx_authz): delete put for http type
|
2021-09-10 19:27:10 +08:00 |
|