3
0
Commit Graph

71 Commits

Author SHA1 Message Date
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Tomaž Jerman
96556f545b Add support for CLI record import 2021-12-02 17:44:47 +01:00
Peter Grlica
680f4db003 Fix cli output to stdout on user creation 2021-11-02 18:40:51 +01:00
Denis Arh
1b3a811cfd Add resource limiting for users 2021-09-22 07:16:40 +02:00
Vivek Patel
3ac2a1f3fa Extends user add cli command
- Adds flag `make-password-link` to generate temp token to create users password
- Adds route and handler for create user password
- Updates few auth label translation reference
- Fixes reset-password issue with existing login session
- Updates tests
2021-09-12 12:49:34 +05:30
Denis Arh
64085fbd1b Fix minor typo in cli-settings 2021-08-23 19:09:54 +02:00
Denis Arh
bed63c4f88 Add ability to create users via CLI with passwords from arg 2021-07-21 21:58:55 +02:00
Denis Arh
e4cd1f5bc5 Improve 'users add' command, add --role 2021-07-15 12:49:37 +02:00
Denis Arh
dca5757fe7 Add system user to context for system CLI ops 2021-07-15 12:31:51 +02:00
Denis Arh
20e05280b3 System wide RBAC changes 2021-07-08 11:42:18 +02:00
Denis Arh
b923953ca5 Removing superuser logic 2021-07-08 11:24:12 +02:00
Denis Arh
6a6f74d4a6 Refactored resource/role logic 2021-07-08 11:22:11 +02:00
Tomaž Jerman
ed8fddd417 Tweak Envoy store -> yaml
* write to fs,
* temporary remove compact format,
* make complete namespace exports easier.
2021-03-30 09:29:08 +02:00
Denis Arh
cd2b0c8998 Add support for exporting auth assets, improve dev-exp 2021-03-26 08:11:31 +01:00
Denis Arh
6848c1159b Add missing svc init before settings command 2021-03-20 07:49:12 +01:00
Tomaž Jerman
fcc9542c3d Rework export command 2021-03-19 08:48:58 +01:00
Denis Arh
3649da2967 Remove lang param from auth notifications 2021-03-11 21:19:00 +01:00
Denis Arh
a41af0699a Remove obsolete settings exporter 2021-03-11 21:08:52 +01:00
Denis Arh
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Denis Arh
01a7aa6526 Remove .With(ctx) pattern 2021-01-25 18:05:24 +01:00
Tomaž Jerman
cb5793d468 Expand envoy configuration options
Better `skipIf` & `onExisting` support.
2020-12-10 18:54:31 +01:00
Tomaž Jerman
d3a64dc0ea Rework cli importer 2020-11-28 14:29:33 +01:00
Denis Arh
a0036bdecf Fix default-addr and test-email sending 2020-09-30 17:12:28 +02:00
Denis Arh
7508659165 RBAC refactored (pkg renamed, init improved) 2020-09-18 07:56:58 +02:00
Denis Arh
3a7cc105d0 Renamed temp ng-store variables to store 2020-09-16 07:37:06 +02:00
Denis Arh
361a9007bf Cleaner store API 2020-08-26 14:49:33 +02:00
Denis Arh
349ff3cf2d Add improved sorting and key-based pagination 2020-08-24 15:43:04 +02:00
Denis Arh
a5990ca093 System services migrated 2020-08-24 15:43:03 +02:00
Denis Arh
783cddd523 Ported system user service to new store 2020-08-24 15:41:01 +02:00
Denis Arh
0af3f68d16 Refactored system auth notification 2020-08-24 15:40:15 +02:00
Denis Arh
f4e6d2ae5a Refactor bootstraping procedure 2020-08-24 15:38:42 +02:00
Denis Arh
520277f82d Add crude permission checking 2020-07-22 17:30:51 +02:00
Denis Arh
1397e8eeb5 Simplify db connection handling
Due to incompatibilities with update of github.com/titpetric/factory,
we are crippeling db connection handling (MustGet fn) - only supporting
one ("default") connection
2020-06-19 12:44:14 +02:00
Denis Arh
f4213e5a7f Add path constraint, improve CLI 2020-05-27 16:32:10 +02:00
Denis Arh
2b3b2f1755 Refactor sink command, add --signature-in-path 2020-05-27 13:54:10 +02:00
Denis Arh
bb2597b712 Load current settings before cli user ops 2020-02-27 13:46:42 +01:00
Denis Arh
cc4c3d115e Fix user list output 2020-02-26 14:01:33 +01:00
Denis Arh
752997614f Support setting settings values explicitly as strings (--as-string) 2020-02-18 10:39:34 +01:00
Denis Arh
db14c2a03e Full sink implementation with proper event & req/resp handling 2020-01-31 00:30:38 +01:00
Denis Arh
90a2bde536 Fix imports on settings & users command 2020-01-18 07:06:54 +01:00
Denis Arh
29902db2b1 Refactor & improve application initialization 2020-01-18 07:05:10 +01:00
Denis Arh
7ae7b6f445 When setting settings value, fallback to quoted string in case of json syntax error 2020-01-18 06:56:53 +01:00
Denis Arh
eabd98dce0 Run settings cli op in superuser context 2020-01-18 06:56:06 +01:00
Denis Arh
eaaef92d04 Fix & improve user cli cmd listing & filtering
Fix broken query and add ability to limit and filter list of users
2020-01-18 06:52:59 +01:00
Denis Arh
10dd0226c1 Settings service cleanup
Remove intermediate settings service layer
2019-10-31 00:06:27 +01:00
Denis Arh
64b28bfde8 Refactor role & user repo, cleanup 2019-10-29 10:06:14 +01:00
Tomaž Jerman
5a4985cbdc Tweak permission export flag's description 2019-10-16 12:47:37 +02:00
Tomaž Jerman
df8bf18360 Cleanup permission exporting 2019-10-16 12:47:37 +02:00
Tomaž Jerman
7a7839809d Add system setting import/export 2019-10-16 12:47:37 +02:00
Denis Arh
a54cb00efa Move internal/settings to pkg/settings 2019-10-01 18:13:26 +02:00