Denis Arh
fcec5d7ec7
Fix access to auth email templates (switch to service user)
2021-07-27 16:28:34 +02:00
Denis Arh
205da42186
Move seeder package under pkg
2021-07-22 07:58:45 +02:00
Denis Arh
a05c8ce34f
Add support for base, fed and automation partial provisioning
2021-07-22 07:33:02 +02:00
Denis Arh
ef28b1a4af
Rename migration functions (6->9)
2021-07-22 07:32:57 +02:00
Denis Arh
67d7882b8e
Fix ClaimsToIdentify to return identity with all authenticated roles
2021-07-21 22:47:19 +02:00
Denis Arh
6ac257b482
Fix compose module field envoy marshalers
2021-07-21 21:56:35 +02:00
Denis Arh
9a29c6e1b2
Fix deferred workflow execution
...
This fix addresses execution of deferred workflows
and access control when setting run-as user.
Some additional standardisation on how we write
mutex/lock code.
2021-07-21 12:02:01 +02:00
Denis Arh
895dd61007
Rename migration files (6->9)
2021-07-16 13:21:24 +02:00
Denis Arh
b459bd3558
Remove obsolete settings (ns switcher, one)
2021-07-16 13:19:08 +02:00
Denis Arh
89ae50dbae
Add RBAC functions for workflow for check&grant
2021-07-15 20:36:57 +02:00
Tomaž Jerman
80e60d2f20
Add support for ComposeRecord RBAC rules
2021-07-15 14:29:30 +02:00
Tomaž Jerman
a2b964c53e
Remove AC from ComposeRecord import
2021-07-15 14:29:30 +02:00
Denis Arh
dca5757fe7
Add system user to context for system CLI ops
2021-07-15 12:31:51 +02:00
Denis Arh
5962d19cd0
Fix external auth provider management
2021-07-14 21:38:52 +02:00
Denis Arh
4ceab5803a
Add dev/debug friendly version of sync.RWMutex
2021-07-14 21:27:47 +02:00
Denis Arh
1750da6195
Fix wf session locking & canceling issue
2021-07-14 10:49:33 +02:00
Denis Arh
a7e2eec9fd
Improve expr types, add r/w locking
2021-07-14 10:49:32 +02:00
Denis Arh
f662d4e794
Add RBAC functions for workflow for check&grant
2021-07-14 10:44:09 +02:00
Tomaž Jerman
9dcea4fb79
Add missing seeder options codegen
2021-07-14 09:56:27 +02:00
Vivek Patel
568a9e6262
Adds fake data generation for compose records and users
...
- For users, It takes struct fields and generated value using third party pkg
- For records, It takes module fields type and options to generate the value
- Also adds cli integration for it
2021-07-13 21:27:44 +05:30
Denis Arh
0a241fab3e
Fix 2 small mistakes in envoy error messages
2021-07-12 08:58:24 +02:00
Denis Arh
3bf0f6f7e4
Add comments about new codegen
2021-07-08 15:55:05 +02:00
Denis Arh
20e05280b3
System wide RBAC changes
2021-07-08 11:42:18 +02:00
Denis Arh
a1de3374ad
RBAC related envoy changes
2021-07-08 11:24:15 +02:00
Denis Arh
b923953ca5
Removing superuser logic
2021-07-08 11:24:12 +02:00
Denis Arh
48e1d0e4aa
Optimized boot levels order & logic
2021-07-08 11:23:18 +02:00
Denis Arh
46f86dbd21
Role migration
2021-07-08 11:22:11 +02:00
Denis Arh
7941e7ba4a
Add general suport for new role types
2021-07-08 11:22:11 +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
Denis Arh
f867b310af
Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it
2021-07-08 11:22:11 +02:00
Denis Arh
e46211c709
Refactor workflow execution, prevent couple of race conditions
2021-06-30 14:30:59 +02:00
Denis Arh
5a67ecf74e
Properly check errors when env files are missing
2021-06-30 09:54:33 +02:00
Denis Arh
a229d0ec5f
Refactor options & env loading to respect order of execution
2021-06-29 13:44:46 +02:00
Denis Arh
a94e39b393
Make env file loading more stable
2021-06-28 17:56:15 +02:00
Denis Arh
6496027ab4
Add --env-file param and improve overall env-var loading
2021-06-21 11:35:18 +02:00
Vivek Patel
3edef9e373
Improves record-value manipulation
...
This will fix WF issue for accessing record's value via selectors & gval expressions
2021-06-16 12:33:05 +05:30
Tomaž Jerman
0853b92393
Allow most envy/store encoders to ignore existing resources
2021-06-10 14:31:00 +02:00
Denis Arh
3638ecacfd
Remove extra chars from <base> check error
2021-06-02 07:03:10 +02:00
Peter Grlica
8ee91eb7a9
Fixed federation structure sync, added a response wrapper to api response
2021-05-26 09:16:11 +02:00
Denis Arh
7d8cc55331
Fix broken federation encoder tests
2021-05-25 19:02:34 +02:00
Tomaž Jerman
2dbf536faa
Improve workflow error handling
...
- prevent the try-catch step from ending the exec session
- prevent pre-run validation checks to cycle the exec
2021-05-25 09:01:24 +02:00
Denis Arh
41dc9d8658
Basepath cleanup & improvements
2021-05-21 09:35:52 +02:00
Vivek Patel
044d02bb76
Adds expr functions for KV, KVV, Vars manipulation
...
- Adds/Refactors methods for Set, Merge, Filter, Delete
- Renames expr/Vars.Merge to MustMerge, updates its usage
- Appends kvFunctions to parser in pkg/expr
- Update/Fixes tests and example testable
2021-05-21 06:58:52 +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
Denis Arh
5a153093e1
Fixed the rest of wf tests
2021-05-14 13:23:43 +02:00
Vivek Patel
8eef51d445
Fixes websocket server and session tests
2021-05-14 13:22:06 +02:00
Denis Arh
70dedcaaba
Refactor & move websocket code under pkg
2021-05-13 14:08:54 +02:00
Denis Arh
bcf83b25e8
Extend token verification to non-standard auth flow
2021-05-13 14:08:54 +02:00
Vivek Patel
1e126f8981
Refactors sending pending prompts via websocket and Adds gorilla/websocket to go.mod
2021-05-13 14:08:54 +02:00