3
0

118 Commits

Author SHA1 Message Date
Tomaž Jerman
4b113af9cc Allow content-type header to specify the charset 2022-01-18 21:50:19 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
72999ca692 Replacing dgrijalva/jwt-go with lestrrat-go/jwx 2022-01-11 10:56:17 +01:00
Denis Arh
60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Tomaž Jerman
907cb25ceb Add support for multipart/form-data request parsing 2021-12-21 09:11:51 +01:00
Vivek Patel
0564fe7190 Add support for role permission cloning
It clones all RBAC rules from one role to another, but also removes all existing rules from role.
2021-12-10 00:54:59 +05:30
Denis Arh
1c55cee2df Fix access token handling in fed node handshake 2021-09-22 21:29:51 +02:00
Denis Arh
ca86a36a5d Make service actions translatable
String placeholders are now wrapped with
double curly brackets for consistency
2021-08-23 19:10:21 +02:00
Denis Arh
9e6d5884c2 Fix RBAC resource checks 2021-08-02 16:11:00 +02:00
Denis Arh
92d2de8639 Add *.search RBAC ops check 2021-07-12 08:58:24 +02:00
Denis Arh
f630a3d9ef Define *.search operations for all resources 2021-07-12 08:58:04 +02:00
Denis Arh
20e05280b3 System wide RBAC changes 2021-07-08 11:42:18 +02:00
Denis Arh
b923953ca5 Removing superuser logic 2021-07-08 11:24:12 +02:00
Denis Arh
46f86dbd21 Role migration 2021-07-08 11:22:11 +02:00
Denis Arh
b3da377c2d Support context roles support in rbac pkg 2021-07-08 11:22:11 +02:00
Denis Arh
6a6f74d4a6 Refactored resource/role logic 2021-07-08 11:22:11 +02:00
Peter Grlica
d450548245 Removed misleading federation etc/ 2021-05-11 17:01:03 +05:30
Denis Arh
79ed77a379 Fixed typos across the codebase (can not, cannot) 2021-03-17 17:25:05 +01:00
Denis Arh
82c76bbe6c Do not decode JSON from body if no POST params are spec. 2021-03-12 14:50:40 +01:00
Peter Grlica
c2d3151c2d Added compose module ID to module mapping endpoint 2021-03-04 14:30:52 +01:00
Peter Grlica
999ef668d1 Renamed social endpoints 2021-03-04 09:06:01 +01:00
Peter Grlica
9450a3ad66 Added as and internal corteza formatter for federation, tests 2021-03-04 09:03:45 +01:00
Peter Grlica
57ffca16a6 Added a list of mapped federated modules 2021-03-04 09:00:20 +01:00
Denis Arh
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Peter G
3ae097c202 Read newly exposed module's records on data sync for federation role 2021-02-22 15:54:33 +01:00
Denis Arh
01a7aa6526 Remove .With(ctx) pattern 2021-01-25 18:05:24 +01:00
Denis Arh
2eea2ad908 Use debug logger when ACTIONLOG_DEBUG=true 2021-01-11 13:36:56 +01:00
Peter Grlica
54e122e7d6 Stale data on old pointer when data syncing 2021-01-06 23:03:42 +01:00
Peter Grlica
cb6c7f8536 Move ignored users check func to query 2021-01-06 23:03:42 +01:00
Tomaž Jerman
d2beb813c4 Fix datasync for missing resources 2021-01-06 23:03:42 +01:00
Tomaž Jerman
ce34993b74 Round timestamps to a second accuracy
Different parts of the system (FE, API, store) may use different
standards so operations like IsStale check may fail.
2020-12-21 09:15:08 +01:00
Denis Arh
8c31bf1b86 Restructure protected routes in compose & federation 2020-12-19 08:24:32 +01:00
Tomaž Jerman
1d5ea52021 Fix federation role parameters 2020-12-18 13:51:42 +01:00
Denis Arh
a37ea6272e Move fed-is-enabled checks to boot procedure 2020-12-14 14:51:40 +01:00
Denis Arh
e9d1d9cc3f Remove redundant object-store in federation 2020-12-14 14:51:40 +01:00
Peter Grlica
ffc024d152 Syncer test date to UTC 2020-12-13 20:35:55 +01:00
Peter Grlica
4db82ed1e3 Removed default unused importer 2020-12-13 18:53:19 +01:00
Peter Grlica
3fda882b75 Node acl check fix 2020-12-13 18:53:19 +01:00
Peter Grlica
fa3c460ac9 Added delete functionality 2020-12-13 18:53:19 +01:00
Peter Grlica
4d77f96fe6 Some PR changes 2020-12-13 18:53:19 +01:00
Peter Grlica
0db26041c0 Added data sync update functionality 2020-12-13 18:53:19 +01:00
Peter Grlica
cede129ede Updated example .env, added experimental warnings 2020-12-13 18:53:19 +01:00
Peter Grlica
cab20207c6 Cleanup on node pairing tests 2020-12-13 18:53:19 +01:00
Peter Grlica
7321bf4e56 Descriptions on options, structure sync with superuser context 2020-12-13 18:53:19 +01:00
Peter Grlica
61782cf08d Added contact to nodes 2020-12-13 18:53:19 +01:00
Peter Grlica
67b95cd0ce Updated types conf 2020-12-13 18:53:19 +01:00
Peter Grlica
aec203718f Use superuser context on structure and data sync, options regenerated 2020-12-13 18:53:19 +01:00
Peter Grlica
0d88fdd139 Added rbac for federation, fixed tests, updated generated code 2020-12-13 18:53:19 +01:00
Peter Grlica
ab3da2906b Added tests, fixed shared module lookup, data sync status fixed 2020-12-13 18:53:19 +01:00
Peter Grlica
5566621720 Fixed mapper test, syncer uri test, node pairing 2020-12-13 18:53:19 +01:00