3
0
Commit Graph

101 Commits

Author SHA1 Message Date
Vivek Patel
7da0940ae1 Add IncTotal param support to all resource List API
- Updates rdbms.go.tpl to extends store search method to include total in response
2022-09-21 19:24:43 +05:30
Denis Arh
4f0d0ad6c1 Change compose record labels to meta 2022-08-11 19:33:07 +02:00
Denis Arh
c9442260c5 Add support for revisions on compose records 2022-08-01 08:55:46 +02:00
Denis Arh
a58eb1e052 Restructure config on compose module 2022-07-30 15:11:13 +02:00
Vivek Patel
fef77a7a47 Refactor rules endpoint
- Removes specific params
- Improves RuleSet.FilterResource to accept multiple resources
- Rework FindRules method in access-controller tpl
2022-07-27 22:43:07 +05:30
Tomaž Jerman
eb917eed6e Refactor data-privacy/sensitive-data to data-privacy/records 2022-07-25 16:56:15 +02:00
Vivek Patel
f160d391f5 Add filters to permissions for role route
It allows filtering for specific rules and also the rules which are applied to the resource, and not to a specific resource.

Introduces generic methods for RuleSet and FindRules method to access_control generation template.
2022-07-19 17:30:26 +05:30
Vivek Patel
56a7bfa821 Add route for listing sensitive modules
It will list out all the privacy related modules, that have one or more private fields.
2022-07-18 17:24:37 +05:30
Denis Arh
39046c52d0 Harden RBAC and refactor check tracking
- stricter rule checking when multiple roles have permissions on same
   resource
 - tracking (prev: evaluation) is refactored to stand out less than
   previous solution
 - performance optimization on certain situations (earlier fn return)
2022-07-14 11:07:10 +02:00
Tomaž Jerman
83ba7faa0f Add /permissions/evaluate endpoints to evaluate RBAC rules 2022-06-27 14:28:52 +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
4d9a2d0181 Add POC endpoint for sensitive data collection 2022-06-14 20:35:42 +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
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
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
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
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
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
Tomaž Jerman
7f795ef418 Split namespace import to init and run 2021-10-10 12:43:21 +02:00
Tomaž Jerman
f7922d9736 Add support for namespace clone, export, import 2021-09-23 13:05:08 +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
Tomaž Jerman
10e8b77d39 Deprecate record list filter query param 2021-07-14 09:56:49 +02:00
Tomaž Jerman
5f513d6e63 Add moduleID to compose page list filter 2021-03-23 16:09:26 +01:00
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
Tomaž Jerman
5b7c425922 Add support for namespace/app asset upload 2021-03-03 12:33:28 +01:00
Denis Arh
18b11e56be Support for page navigation on records 2020-12-18 17:31:31 +01:00
Denis Arh
b82ddad83a Implement support for labels on compose resources 2020-11-06 08:32:42 +01:00
Denis Arh
b534308143 Fix pagination cursor dec/enc + finish impl 2020-10-12 15:20:55 +02:00
Denis Arh
7508659165 RBAC refactored (pkg renamed, init improved) 2020-09-18 07:56:58 +02:00
Denis Arh
349ff3cf2d Add improved sorting and key-based pagination 2020-08-24 15:43:04 +02:00
Denis Arh
697f3bc089 Migrated API specs to new codegen 2020-08-24 15:39:39 +02:00
Tomaž Jerman
e0b0944921 Add support for timezone export 2020-06-23 10:12:51 +02:00
Tomaž Jerman
3b15dbc350 Improve bulk record field error handling 2020-06-23 08:58:44 +02:00
Denis Arh
2a9e9411b6 Remove webhooks (endpoints, service, type, db tables, ...) 2020-06-07 10:37:22 +02:00
Tomaž Jerman
ab2e76dd22 Add support for batch record operations
Allows us to perform multiple operations with a single request
under the same transaction.
2020-05-28 23:40:21 +02:00
Jože Fortun
c84e798ce7 Add weight to page create 2020-05-19 12:52:24 +02:00
Denis Arh
efa2f28b8c Add incl/excl filtering for deleted record 2020-04-30 08:34:20 +02:00
Denis Arh
f291613516 Rename RecordFilter's Filter to Query for consistency 2020-04-30 07:30:25 +02:00
Denis Arh
23bf0c52c7 Add missing raw&has for post&get 2020-04-08 17:02:07 +02:00
Denis Arh
7a6a0851c2 Add limit/offset params, reformat all paging & sorting params 2020-03-27 18:36:05 +01:00