Commit graph

166 commits

Author SHA1 Message Date
Stackspin renovate bot
9a75ae59e6 chore(deps): update bitnami/kubectl docker tag to v1.25.1 2022-09-17 02:04:30 +00:00
Stackspin renovate bot
d81afbec59 chore(deps): update bitnami/kubectl docker tag to v1.25.0 2022-09-02 22:05:49 +00:00
Arie Peterson
e27318f93d Show user roles in CLI 2022-08-31 17:17:27 +02:00
Stackspin renovate bot
4dacbed57d chore(deps): update bitnami/kubectl docker tag to v1.24.4 2022-08-18 06:05:53 +00: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
Davor
d140a1a6cb Merge branch 'main' into feat/batch-create-users 2022-07-21 11:45:15 +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
Stackspin renovate bot
72f54df155 chore(deps): update dependency nginx to v1.23.1 2022-07-19 22:05:15 +00:00
Davor
80ba5da9c8 added more information about user batch creation 2022-07-19 16:48:22 +02:00
Maarten de Waard
aa182459f0
fix(cliapp): Show a message if a user can not be found 2022-07-18 15:02:51 +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
Stackspin renovate bot
3a12949372 Update dependency bitnami/kubectl to v1.24.3 2022-07-14 02:05:29 +00: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
420c85cf8d MR comments 2022-06-28 15:18:14 +02:00
Davor
9c75d36b71 if user has admin dashboard role allow admin access 2022-06-28 12:23:41 +02:00
Stackspin renovate bot
e654e81a5b Update dependency nginx to v1.23.0 2022-06-23 22:11:44 +00:00
Stackspin renovate bot
c4b9fe07ba Update dependency bitnami/kubectl to v1.24.2 2022-06-23 22:05:56 +00:00
Maarten de Waard
942e81775f Docker based proxy 2022-06-23 09:27:54 +00:00
Davor
812fc41c6e Fix checking if app exists before inserting into DB 2022-06-21 17:33:04 +02:00
Davor
4c6a9bc8c9 add check if the app exists in DB before creating it 2022-06-21 14:54:01 +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
Maarten de Waard
f6480d805b
deny app access if role_id is 3 (no access) 2022-06-15 14:18:09 +02:00
Davor
a7c0b0a626 add apps migration 2022-06-14 17:37:24 +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
0fef211f5d changed variable names to snake case 2022-06-10 11:34:33 +02:00
Davor
8c8b2d27fc fix typo 2022-06-09 12:26:50 +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
Davor
b6f3765a3a remove 'pass' from the end of downgrade 2022-06-08 18:02:51 +02:00
Davor
603c1aa71e Added migration script 2022-06-08 17:59:36 +02:00
Davor
7b5a3f9eb9 adde user role to DB 2022-06-06 11:10:44 +02:00
Davor
acd25c2e44 Merge branch 'main' into feat/role-management-fixes 2022-06-06 10:25:43 +02:00
Varac
62187e0b29
Rename API to Stackspin 2022-05-31 13:40:46 +02:00
Davor
2a28c4d55b reject consent request
when the user doesn't have permissions for app reject
2022-05-30 12:25:42 +02:00
Davor
c153b04c62 Added User and No access roles in DB
- TODO: add update db script to add missing roles
2022-05-27 21:26:32 +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