3
0

3616 Commits

Author SHA1 Message Date
Tomaž Jerman
f5a4bd9a30 Add additional utilities to work with resources 2022-07-04 12:54:21 +02:00
Vivek Patel
e7a36e26c5 Add env options to enable/disable Compose record action log
It will enable/disable action log entry for compose record create, update or delete.
2022-07-04 12:53:39 +02:00
Denis Arh
0954c0d638 Cleanup and fix compose module tests 2022-07-03 13:20:16 +02:00
Denis Arh
013053d8a8 Fix label handling (broken after store refactor) 2022-07-03 13:20:00 +02:00
Denis Arh
188b7f3b44 Fix store codegen template 2022-07-03 12:55:31 +02:00
Denis Arh
2b87ef2577 Fix record service tests 2022-07-03 12:19:48 +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
8cbb2026e0 Fix and extend RDBMS upgrade procdures 2022-06-29 15:46:37 +02:00
Denis Arh
61b91a8a6a Cleaned up old store (record, rvalues) code, add missing tests 2022-06-28 19:01:44 +02:00
Denis Arh
ced4a26068 Fix broken es.NewStoreEncoder call 2022-06-28 16:07:30 +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
42f94b6395 Remove obsolete record service event-emiting control 2022-06-28 14:33:19 +02:00
Denis Arh
d5ab4c7eba Improve record-service, return struct not interface 2022-06-28 14:31:50 +02:00
Denis Arh
4b28855a38 Merge branch '2022.9.x-feature-rbac-rework' into 2022.9.x 2022-06-28 13:56:58 +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
Katrin Yordanova
ae177514cf Bring back login button in login template 2022-06-23 20:21:17 +03:00
Tomaž Jerman
43f28d2703 Allow prompts to state a different owner 2022-06-23 13:48:46 +02:00
Peter Grlica
f7fc2f10dd Removed required status on fields in record delete
Delete record workflow function removed required field status on
namespace and module.
2022-06-22 10:13:52 +02:00
Jože Fortun
c535e3a91e Add wrap field to PageBlockStyle struct 2022-06-17 14:20:25 +02:00
Katrin Yordanova
6e4402e15e Redesign login template 2022-06-16 15:01:45 +03:00
Tomaž Jerman
ef503e433f Add missing sorting to application codegen definition 2022.9.0-dev.1 2022-06-16 13:06:23 +02:00
Jože Fortun
4edcf0e838 Update corteza-locale dep 2022-06-15 16:50:31 +02:00
Vivek Patel
f73be68594 Add privacy to the list of apps for 'make webapp' 2022-06-15 20:18:13 +05:30
Tomaž Jerman
8f901b8ce8 Update Dockerfile version 2022-06-15 15:47:28 +02:00
Tomaž Jerman
8707355db6 Update go to 1.18 on GH workflows 2022-06-15 15:29:51 +02:00
Tomaž Jerman
7a36951dd0 Temporarily disable make test.all command 2022-06-15 15:18:48 +02:00
Tomaž Jerman
ba517f5661 Change default reconnect attempts for PGSQL and SQLITE 2022-06-15 15:09:55 +02:00
Tomaž Jerman
3b2710a210 Fix improper request kind type casting 2022-06-15 09:53:16 +02:00
Tomaž Jerman
cfed35d639 Prevent connection change for existing modules 2022-06-14 20:35:42 +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
acdda97daa Allow data privacy requests to store the payload 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
44f41fb10b Make some module model REST params optional 2022-06-14 20:35:42 +02:00
Tomaž Jerman
8bcd8942c8 Change MySQL JSON path quotes from " to '
" were getting escaped so queries were failing.
2022-06-14 20:35:42 +02:00
Tomaž Jerman
c5482777aa Fix improper record filter construction 2022-06-14 20:35:42 +02:00
Tomaž Jerman
319ae7e375 Fix improper sensitivity level check when removing attributes 2022-06-14 20:35:42 +02:00
Tomaž Jerman
01673cc4cb Fix lapsus in condition expression building 2022-06-14 20:35:42 +02:00
Tomaž Jerman
9adced7a1e Fix attribute panic when adding/removing attributes 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
cbb5dadd9e Temporarily add default sensitivity level with ID 1 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
557a573f04 Add base DAL tests 2022-06-14 20:35:42 +02:00
Tomaž Jerman
11e82354fe Temporarily disable DAL for provisioning 2022-06-14 12:08:18 +02:00
Tomaž Jerman
d7be55948c Quick refactor of other services for DAL
@todo cleanup, refactor
2022-06-14 12:08:18 +02:00
Tomaž Jerman
033d2572dd Refactor core compose, system services with new DAL changes
* Define utility packages to work with DAL structs
* Cleanup code
2022-06-14 12:08:16 +02:00
Tomaž Jerman
8eb062293f Refactor pkg/dal implementation
* Reworked errors to not brick the system (things keep track of
  issues.
* Reworked internal state management -- keeping invalid things
  present, cleanning up the code, utilizing issues.
* Cleanup/improve error messages
2022-06-14 12:06:13 +02:00
Tomaž Jerman
7bac115ceb Gracefully handle empty iterator close
Prevent nil panic.
2022-06-14 12:06:13 +02:00