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
Tomaž Jerman
d7480c8daf
Fix improper data truncate expr construction
2022-06-14 12:06:13 +02:00
Tomaž Jerman
e05abe960d
Add missing module filter to module field search
2022-06-14 13:17:44 +05:30
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
Vivek Patel
7cdf51adc4
Add data privacy request route and implementation
...
- Introduces new role for data-privacy-officer(Role allows user to manage data privacy requests)
- along with a new system resource for data privacy requests and its access control
- Routes as per access control to create data privacy request, list request and filter it based on their kind and status, update data privacy request status, and create/list comments on data privacy request
2022-06-14 13:17:44 +05:30
Tomaž Jerman
de1f3a908e
Make value validators properly translate error messages
2022-06-10 10:34:08 +02:00
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
62e43f19d3
Add base DAL crud integration tests
2022-05-31 16:53:01 +02:00
Tomaž Jerman
9bed03a95f
Fix dal connection type assertion lapsus
2022-05-31 13:20:57 +02:00
Tomaž Jerman
c6b26c4e32
Temporary patch for primary connection updating
2022-05-31 13:16:14 +02:00
Tomaž Jerman
1be620d787
Tweak dal connection meta for easier FE work
...
* Default capabilities to empty slice
* Include primary connection connection parameters in REST
responses.
2022-05-31 13:00:21 +02:00
Tomaž Jerman
4517d9b06d
Tweak dal connection location for easier FE work
...
Default it to the empty geolocation JSON.
2022-05-30 15:59:28 +02:00
Tomaž Jerman
a70087ace8
Refactor primary DAL connection to be preserved in DB
2022-05-30 15:43:03 +02:00
Tomaž Jerman
a2606ea58d
Mark additional Compose resource fields as sortable
2022-05-30 10:57:27 +02:00
Denis Arh
5c317cdbdf
Add proper support and access control for record owner
2022-05-26 20:56:33 +02:00
Tomaž Jerman
35469c4749
Tweak DAL setup to prevent the server freezing
...
Errors are now logged and they don't kill the setup process.
This will be improved.
2022-05-26 18:13:54 +02:00
Tomaž Jerman
a0a6314ea9
Introduce DAL model ident formatter to simplify the interfaces
2022-05-26 17:41:15 +02:00
Tomaž Jerman
fb7e9b5ce1
Fix broken compose module updating
2022-05-26 17:32:56 +02:00
Tomaž Jerman
9223feac95
Omit sensitivity level inclusion check when omitted
2022-05-26 15:12:20 +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
Denis Arh
aeec20018c
Prevent nil pointer dereference inside corredor healthcheck
2022-05-25 15:49:13 +02:00
Tomaž Jerman
ac07f133b5
Expand DAL REST API structure and exposed resources
...
* Cleanup DAL connection REST endpoints, remove primary connection
endpoint.
* Make connection search endpoint return federation nodes and
primary connection along user-defined DAL connections
* Expose DAL connection drivers
* Prepare DAL sensitivity level resource
2022-05-25 14:10:52 +02:00
Peter Grlica
fb5b0b59f8
Fixed federation uri node generation
2022-05-25 09:41:29 +02:00
Denis Arh
17406362dd
Rename Connection to DalConnection
2022-05-24 14:29:22 +02:00
Denis Arh
ebe36a758c
Fix hide/show for remember-me button on login screen
2022-05-24 14:24:36 +02:00
Denis Arh
468390a758
Merge branch '2022.9.x-fix-auth-lifetime-issue' into 2022.9.x
2022-05-24 10:46:41 +02:00
Denis Arh
691e3e2900
Fix session & cookie exp. setting logic
...
Ensures that cookies on non-permanent login are set without max-age to
ensure removal when browser/tab is closed.
Sessions stored in the database are now updated and expiration value
slides forward in time with every activity from the user.
2022-05-24 10:46:21 +02:00
Denis Arh
dd3d25a5ae
Deprecate/remove AUTH_JWT_EXPIRY
...
JWT expiration is now controled via AUTH_OAUTH2_ACCESS_TOKEN_LIFETIME
2022-05-24 10:44:54 +02:00
Denis Arh
c457448558
Include web console bundle into server build
...
Add caching between github build steps to transfer
bundled web console files to steps where server is built.
2022-05-23 21:43:22 +02:00
Denis Arh
e6b48b2d14
Fix infinite loop alert webconsole when offline
...
Prevent webconsole to flood browser with alert windows when
backend is no longer reachable.
2022-05-23 20:33:17 +02:00
Denis Arh
5d172c9268
Remove suspended_at from connection unique index for handle
2022-05-23 20:33:17 +02:00
Denis Arh
b6adec8a9c
Fix Role filter, add mising name attribute
2022-05-23 20:33:17 +02:00
Denis Arh
6355fc42d1
Temporary disable record provisioning due to broken import
2022-05-23 19:03:15 +02:00
Denis Arh
040ad02e75
Refactor and fix DAL tests
...
DAL tests are now moved to /tests/dal
2022-05-22 19:07:44 +02:00
Denis Arh
53b8c4951d
Siletly ignore missing deleted-at state constraint.
...
A workaround until we can construct filter to dinamicaly
handle deleted-at state constrants (if attribute is present or not).
2022-05-22 17:39:32 +02:00
Tomaž Jerman
85260b6345
Merge branch '2022.9.x-dal' into 2022.9.x
2022-05-20 15:37:47 +02:00
Tomaž Jerman
bda52ed992
Add endpoint for primary DAL connection
2022-05-20 15:37:33 +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