Denis Arh
7cf6c18d81
Fix invalid error when user can not search namespaces
2021-07-21 22:46:18 +02:00
Tomaž Jerman
579fe3f9eb
Allow missing ac when checking record RBAC
2021-07-15 14:29:30 +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
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
Vivek Patel
f5532acf97
Fixes file upload for empty txt file and ico file
2021-07-02 18:04:08 +05:30
Tomaž Jerman
ee850124f6
Sanitize text record values
2021-06-22 09:39:26 +02:00
Tomaž Jerman
90cb471481
Fix compose record update on modules with deleted fields
2021-06-08 11:45:50 +02:00
Tomaž Jerman
a429e1c71c
Fix module field default value validation
2021-06-01 12:49:54 +02:00
Denis Arh
28e1774cd2
Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it
2021-05-21 06:58:41 +02:00
Tomaž Jerman
53cf96848a
Tweak ComposeRecord exporting
...
* Fix pagination cursors
* Use service functions for AC
* Add tests
2021-05-10 10:53:13 +02:00
Tomaž Jerman
d70916705d
Post testing Envoy tweaks
...
* ComposeRecord encoding with reference to self,
* improved ComposeRecord reference handling,
* tweaked Select ComposeModuleField validation.
2021-04-06 23:28:08 +02:00
Tomaž Jerman
a0b27435bc
Make record value sanitizer filter out 0 references
2021-04-03 08:21:10 +02:00
Denis Arh
fdf916b7f9
Rework/simplify expr.Vars handling
2021-04-01 21:10:51 +02:00
Denis Arh
9150b3852b
Beter ref handling, some cleanups, added tests
2021-03-31 15:04:08 +02:00
Tomaž Jerman
eb79b192be
Fix record ref updates
2021-03-31 10:16:26 +02:00
Denis Arh
5c60076d71
Ensure module is linked to record before wf is executed
2021-03-29 09:17:42 +02:00
Alex Astrum
f9501893af
Fix support for min.io with Google Cloud Storage ( #152 )
...
Adds MINIO_BUCKET_SEP options to control the separator string
2021-03-28 09:25:55 +02:00
Denis Arh
d3c4691faa
Fix datetime field type value manipulation
2021-03-23 20:41:35 +01:00
Tomaž Jerman
28aa9b3744
Tweak default compose record value logic
2021-03-22 08:16:17 +01:00
Tomaž Jerman
9afba4a662
Add additional context to record import errors
2021-03-19 08:48:58 +01:00
Tomaž Jerman
cfb0822858
Fix record import field mapping & validation
...
* Allow undefined record ref validator fn
* Remove field mapping fallback if mapping is provided
2021-03-19 08:48:58 +01:00
Denis Arh
261ad71460
Serve event contraints via API
2021-03-18 08:20:55 +01:00
Denis Arh
79ed77a379
Fixed typos across the codebase (can not, cannot)
2021-03-17 17:25:05 +01:00
Denis Arh
1fa6c6cb9b
Improve event-types <> workflow
2021-03-12 13:12:07 +01:00
Denis Arh
69dd1fc425
Add basic automation functions for compose
2021-03-12 13:12:07 +01:00
Tomaž Jerman
c3be43ed51
Fix module field removal logic
2021-03-05 10:42:35 +01:00
Tomaž Jerman
5b7c425922
Add support for namespace/app asset upload
2021-03-03 12:33:28 +01:00
Tomaž Jerman
398c9449cc
Rework compose record import/export
...
- Tweak importing to avoid record service
- Rework record export to use Envoy
2021-02-24 15:57:44 +01:00
Tomaž Jerman
0f7349fba5
Restructure compose/service/record with utility functions
...
This allows us to reuse the code within Envoy.
Other services will follow in the future.
2021-02-24 15:55:51 +01:00
Tomaž Jerman
e8451fa855
Tweak value validators to not require checker functions
2021-02-24 15:24:39 +01:00
Denis Arh
53be013377
Implement new auth UI, deprecate auth API endpoints
2021-02-23 07:34:10 +01:00
Tomaž Jerman
331f43a8b4
Fix import failed counter lapsus
2021-02-15 15:25:28 +01:00
Denis Arh
2d55a2a869
Remove deprecated trigger RBAC from compose
2021-02-11 12:08:47 +01:00
Denis Arh
cd1f25ab68
Keep ref to module on compose record
2021-02-03 12:43:22 +01:00
Denis Arh
01a7aa6526
Remove .With(ctx) pattern
2021-01-25 18:05:24 +01:00
Tomaž Jerman
ce21db2197
Fix record import via some CSV files
...
Some CSV files failed to detect as text/csv so the import failed.
ref: https://github.com/gabriel-vasile/mimetype/issues/138
2021-01-15 12:12:01 +01:00
Denis Arh
2eea2ad908
Use debug logger when ACTIONLOG_DEBUG=true
2021-01-11 13:36:56 +01:00
Denis Arh
9ddc92259d
Add missing record-check filter function
2020-12-22 21:09:40 +01:00
Tomaž Jerman
3572364ac1
Fix select value validator edgecase
2020-12-21 15:54:31 +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
8fa00d04d7
Fix attachment issues on cmp&msg
2020-12-18 10:42:53 +01:00
Tomaž Jerman
68cd9c218e
Refactor iterator providers
2020-12-14 12:30:45 +01:00
Denis Arh
da7c4d0174
Fix option validation tests
2020-12-11 08:30:14 +01:00
Denis Arh
22061063c9
Fix select field option list value type conversion
2020-12-10 20:14:36 +01:00
Tomaž Jerman
cb5793d468
Expand envoy configuration options
...
Better `skipIf` & `onExisting` support.
2020-12-10 18:54:31 +01:00
Denis Arh
cf6f023454
Add test to cover (potential) field-perm issue
...
Scenario:
- module with boolean field
- role 1 with read-write perm on field
- role 2 with read-only perm on field
- role 1 record update works w/o problems
- role 2 record update does not work when field value is set (by user w/ role1)
2020-12-08 22:06:09 +01:00
Denis Arh
8296e48f89
Prevent exec of value vldt/san/fmt on val. expr fields
2020-11-30 20:31:02 +01:00