Commit graph

71 commits

Author SHA1 Message Date
Mart van Santen
8eb8d83bea Code cleanups 2022-10-03 12:47:25 +08:00
Mart van Santen
dd5d4f1acd Fix merge conflicts
Merge branch 'main' into 45-allow-database-to-have-external-apps
2022-09-30 10:33:43 +08:00
Maarten de Waard
95eb8db5a3
improve uninstall documentation, remove None output in uninstall command 2022-09-29 12:54:37 +02:00
Mart van Santen
7da5761d66 Processed feedback 2022-09-29 14:51:59 +08:00
Maarten de Waard
903f11cf47
fix oauth secret creation for most apps 2022-09-28 16:45:34 +02:00
Maarten de Waard
82478e5006
fix a few bugs with app del uninstall and deletion 2022-09-28 14:57:36 +02:00
Maarten de Waard
2e55e2fa39
Process lots of feedback
- Add a lot of docstrings
- Add AppStatus class
- Remove unused code
2022-09-28 14:57:35 +02:00
Maarten de Waard
8e41705d39
Process feedback; make it possible to install monitoring 2022-09-28 14:57:31 +02:00
Maarten de Waard
caa9b2e79b
Enable deleting apps by using CLI 2022-09-28 14:57:20 +02:00
Maarten de Waard
5893ee39a3
draft of installing apps and getting app status 2022-09-28 14:57:16 +02:00
Maarten de Waard
3e0e4ee846 Apply 1 suggestion(s) to 1 file(s) 2022-09-28 08:02:51 +00:00
Maarten de Waard
9e83dc314f
correctly return URLs for apps 2022-09-27 15:41:46 +02:00
Maarten de Waard
fd28d5b774
return domains of internal apps 2022-09-26 13:42:13 +02:00
Mart van Santen
a2019a32d0 CLI interface for external apps 2022-09-24 01:04:29 +08:00
Maarten de Waard
4c57f92c8a
Process feedback; make it possible to install monitoring 2022-09-23 17:10:31 +02:00
Maarten de Waard
6529636b3d
Enable deleting apps by using CLI 2022-09-22 16:14:49 +02:00
Maarten de Waard
cea3f5a3cb
draft of installing apps and getting app status 2022-08-12 13:08:03 +02:00
Maarten de Waard
2baae3e61e
Merge branch 'main' into feat/batch-create-users 2022-07-21 17:08:41 +02:00
Maarten de Waard
cc7fc5ab91
replace tmp variable name, doc improvements 2022-07-21 16:53:08 +02:00
Davor
66b44ae1a0 MR comments
- NO_ACCESS_ROLE_ID constant moved to models.py
- added docstring for batch create request body
2022-07-21 14:14:22 +02:00
Maarten de Waard
685ddeff00
send out a recovery email after a new user is created. 2022-07-21 10:51:14 +02:00
Davor
80ba5da9c8 added more information about user batch creation 2022-07-19 16:48:22 +02:00
Davor
310b7ed8ff merge with master 2022-07-18 07:55:40 +02:00
Davor
cc7ff9d359 modify user batch create 2022-07-17 19:59:08 +02:00
Davor
8bcccf417d remove unused function
- add check if editing user is admin for role editing
2022-07-13 10:29:25 +00:00
Davor
5b55c4498b non admin can't change app roles 2022-07-13 10:29:25 +00:00
Davor
53529cd737 add me endpoint 2022-07-13 10:29:25 +00:00
Davor
8eacdc8db9 prepare endpoint for batch create users 2022-07-12 00:12:33 +02:00
Davor
33ffc5a895 wip - add batch create users 2022-07-11 15:11:18 +02:00
Davor
9c75d36b71 if user has admin dashboard role allow admin access 2022-06-28 12:23:41 +02:00
Maarten de Waard
c88d7ebc08
Only allow Admins to add new users 2022-06-15 14:30:19 +02:00
Maarten de Waard
3eea6ab2bf
Merge branch 'main' into feat/api-role-permission-layer 2022-06-15 14:19:44 +02:00
Davor
c1e62089b6 added migration script for users to add 'No access' roles in app_roles 2022-06-10 16:43:10 +02:00
Davor
19bc31e6e3 MR comments
- added error handler for unauthorized
2022-06-09 12:21:47 +02:00
Davor
907e0ecaab add permission layer for admins for backend API 2022-06-08 21:41:59 +02:00
Varac
62187e0b29
Rename API to Stackspin 2022-05-31 13:40:46 +02:00
Davor
19802f56eb fix logic for roles 2022-05-26 09:49:25 +00:00
Davor
732555ac6a MR comments 2022-05-26 09:49:25 +00:00
Davor
97d4f0845d fix issue with WordPress login
- resolving role name
2022-05-26 09:49:25 +00:00
Davor
5206c78998 MR comments
- fixed order of import in user_service.py
- added error handling for user delete
2022-05-26 09:49:25 +00:00
Luka Radenovic
09f1d2e00a Optimize insert app role to user 2022-05-26 09:49:25 +00:00
Luka Radenovic
bc85575e9b Add app roles to userInfo when logging in 2022-05-26 09:49:25 +00:00
Luka Radenovic
61e512c208 Added new role management 2022-05-26 09:49:25 +00:00
Maarten de Waard
bf98fbd721
feat: add error handling for unaccepted passwords, add kratos error page 2022-05-02 11:08:43 +02:00
Luka Radenovic
75b18bada8 Rename app_role_id to role_id 2022-04-15 13:51:30 +02:00
Luka Radenovic
3c8c900d2c Return role_id when callback is called 2022-04-15 12:44:30 +02:00
Luka Radenovic
b494650398 Fix for put user 2022-04-15 10:53:20 +02:00
Luka Radenovic
10479a625a Added new endpoint for roles and updated users endpoints to work with roles 2022-04-14 13:32:35 +02:00
Luka Radenovic
7661088814 Convert role column to a new table 2022-04-13 15:11:51 +02:00
Luka Radenovic
f377b4ce45 Refactor integrations of sso 2022-04-13 10:27:17 +02:00