Tomaž Jerman
2fddadc92a
Refactor NS clone to reuse export/import core
2022-07-04 12:55:44 +02:00
Tomaž Jerman
9f7e87f30e
Refactor NS import/export for above changes
2022-07-04 12:55:05 +02:00
Denis Arh
bdd9318f93
Refactor and improve DAL implementation and init
...
Changes:
- Boot initialization follows standard impl
- Improved DAL connection management (adding, reloading, removing)
- Cleaner and more detailed logging
- Primary store connection is now reused when added to DAL
2022-07-01 18:13:54 +02:00
Denis Arh
9ce63f1210
Implement ownership access-control on record creation
...
Besides "owner.manage" on record resoure we now also have
"owned-record.create" on module.
2022-06-28 15:58:57 +02:00
Denis Arh
14d3b7033d
Refactor RBAC evaluation processing
2022-06-28 12:53:51 +02:00
Tomaž Jerman
83ba7faa0f
Add /permissions/evaluate endpoints to evaluate RBAC rules
2022-06-27 14:28:52 +02:00
Tomaž Jerman
71b3aacae5
Fix edgecase where empty sets would return
2022-06-14 20:35:42 +02:00
Tomaž Jerman
91552f607f
Fix inconsistent naming for private data endpoint
2022-06-14 20:35:42 +02:00
Tomaž Jerman
2afd806c2e
Allow sensitive data collection to filter by connectionID
2022-06-14 20:35:42 +02:00
Tomaž Jerman
2497dead2e
Temporarily use the field's private flag for sensitive data collection
2022-06-14 20:35:42 +02:00
Tomaž Jerman
ffb8dc1473
Add missing JSON tag params
2022-06-14 20:35:42 +02:00
Tomaž Jerman
4d9a2d0181
Add POC endpoint for sensitive data collection
2022-06-14 20:35:42 +02:00
Tomaž Jerman
d7be55948c
Quick refactor of other services for DAL
...
@todo cleanup, refactor
2022-06-14 12:08:18 +02:00
Vivek Patel
86431fe82f
Add rest endpoints for chart translations
...
It allows saving/updating yAxis label and metric label translations
2022-06-14 13:17:44 +05:30
Tomaž Jerman
8de5fe8502
Add canManageOwnerOnRecord to record response
2022-06-02 13:25:57 +02:00
Tomaž Jerman
9610e35073
Add REST API params for compose record owner
2022-06-02 12:38:51 +02:00
Tomaž Jerman
94fbe4bd44
Improve DAL sensitivity level
...
* Integrate with pkg/dal package
* Additional validation/constraints
2022-05-26 13:24:16 +02:00
Tomaž Jerman
b85f16a368
Add slight structure rename, add supporting services
...
* Add system connection CRUD & service
* Simplify compose type definitions
2022-05-20 15:37:33 +02:00
Tomaž Jerman
46eb0f1749
Fix missing role references for namespace export
2022-03-23 12:06:56 +01:00
Tomaž Jerman
9e5fd42d48
Limit/default compose record list rest endpoint
2022-03-14 15:23:41 +01:00
Tomaž Jerman
8e679bf97c
Improve namespace export
...
* Add RBAC rules
* add resource translations
* slight refactor
2022-02-25 16:48:25 +01:00
Denis Arh
0f6e712487
Append custom args when executing corredor scripts via Compose REST handlers
2022-02-25 15:13:14 +01:00
Denis Arh
6f19f00b29
Improve attachment uploading & constraints
2022-02-25 08:35:50 +01:00
Tomaž Jerman
bc1550938f
Prevent compose-system import cycles
2022-02-17 13:11:50 +01:00
Denis Arh
1949782ccd
Remove unused CustomRowScanner & RowScanners features from store
2022-02-12 09:00:13 +01:00
Denis Arh
b478b37775
Add support for page config
2022-02-10 13:55:54 +01:00
Denis Arh
53dd7cc292
Validate token and resolve identity from token earlier in the chain.
2022-02-09 10:58:47 +01:00
Denis Arh
74d6eabf94
Various template & def fixes
2022-01-26 16:27:38 +01:00
Denis Arh
691481424a
Make compose page removal more flexible
...
Support four delete strategies
- abort: raise an error of page to be deleted contains subpages
- force: delete the page regardles of any potential subpages
- cascade: remove all subpages
- rebase: remove page and move subpages one level lower (to the place
where the parent page was)
2022-01-26 15:50:21 +01:00
Denis Arh
6c3bef0750
Refactor token-issuer (ex-jwt) to be more robust and configurable
2022-01-21 15:31:10 +01:00
Tomaž Jerman
4b113af9cc
Allow content-type header to specify the charset
2022-01-18 21:50:19 +01:00
Peter Grlica
937ec1d584
Updated generated files
2022-01-18 21:50:18 +01:00
Denis Arh
59ec77e204
Refactor JWT implementation
2022-01-18 21:50:18 +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
Denis Arh
92c0c3feb7
Add support for additional argument when invoking Corredor script
2021-12-17 12:59:24 +01:00
Denis Arh
8110c69708
Cleanup compose attachment service
2021-12-02 10:48:59 +01:00
Tomaž Jerman
7f795ef418
Split namespace import to init and run
2021-10-10 12:43:21 +02:00
Tomaž Jerman
5155310ca0
Slight record resource RBAC tweaks
...
* Add canRead to record response
* Use existing record when evaluating record update ctx roles
2021-10-01 10:08:58 +02:00
Tomaž Jerman
e7fb1e3e07
Tweak typed value Array casting; add missing selected prop
2021-09-27 10:42:35 +02:00
Tomaž Jerman
f7922d9736
Add support for namespace clone, export, import
2021-09-23 13:05:08 +02:00
Tomaž Jerman
8cae39f231
Extend codegen for system resources
...
* Rename generated services
* Add definitions for reports
2021-09-22 11:26:14 +02:00
Denis Arh
9a2e58532c
Fix module field resource translations
2021-09-22 11:26:14 +02:00
Denis Arh
cfd95a6682
Rename resource translation routes
2021-09-22 11:26:14 +02:00
Tomaž Jerman
e8e998293d
Apply i18n to the more complex Compose resources
2021-09-22 11:26:14 +02:00
Denis Arh
774354d663
Cleanup rec&mod response payloads (rbac flags)
2021-07-21 11:57:40 +02:00
Tomaž Jerman
10e8b77d39
Deprecate record list filter query param
2021-07-14 09:56:49 +02:00
Denis Arh
20e05280b3
System wide RBAC changes
2021-07-08 11:42:18 +02:00
Denis Arh
46f86dbd21
Role migration
2021-07-08 11:22:11 +02:00
Denis Arh
6a6f74d4a6
Refactored resource/role logic
2021-07-08 11:22:11 +02:00