Commit graph

133 commits

Author SHA1 Message Date
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
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
Maarten de Waard
efbc1b21c9
docs: update documentation on starting the dev environment 2022-05-17 12:31:28 +02:00
Maarten de Waard
8aadfb0860
add set-port-forward.sh which uses kubectl port-forward instead of ssh tunnels 2022-05-16 17:28:52 +02:00
Maarten de Waard
684c461e54
implement logout endpoint to be called by Hydra on logout 2022-05-12 16:08:05 +02:00
Maarten de Waard
bf98fbd721
feat: add error handling for unaccepted passwords, add kratos error page 2022-05-02 11:08:43 +02:00
Maarten de Waard
c120ab603a
upgrade: make changes to be compatible with Kratos 0.9.0-alpha.3 2022-04-29 12:34:12 +02:00
Varac
caa7e0005c Auto-assign @luka to renovate MRs 2022-04-28 08:57:24 +00:00
Maarten de Waard
e284a51148
Merge branch 'main' into 19-integrate-flask-sso-panel-into-dashboard-flask-backend 2022-04-20 14:13:00 +02:00
Maarten de Waard
45a0982874
fix: roles in consent shoudl be role names, not Role objects 2022-04-20 13:53:45 +02:00
Luka Radenovic
75b18bada8 Rename app_role_id to role_id 2022-04-15 13:51:30 +02:00
Luka Radenovic
0ef90ecc1e Fix setrole cli function 2022-04-15 13:26:16 +02:00
Luka Radenovic
3c8c900d2c Return role_id when callback is called 2022-04-15 12:44:30 +02:00
Maarten de Waard
932f3c4fcb
set role_id for all admin users so no admin role data gets lost during migration 2022-04-15 11:11:44 +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
Maarten de Waard
ce5a7d05ac
fix: set new URLs for set-ssh-tunnel script 2022-04-07 14:49:02 +02:00
Maarten de Waard
b53bffbcd6
add migrations from SSO repo 2022-04-05 12:32:30 +02:00
Maarten de Waard
3d70482029
try to add a Migrate call so we can migrate I hope 2022-04-05 12:16:01 +02:00
Maarten de Waard
2564f3aae6
rename PUBLIC_URL to a more meaningful variable name 2022-04-04 14:31:17 +02:00
Maarten de Waard
a7fb3ab28d
Change KRATOS_URL to KRATOS_ADMIN_URL and HYDRA_URL to HYDRA_PUBLIC_URL for clarity 2022-04-04 14:24:30 +02:00
Mart van Santen
0074fee909 Added documentation 2022-04-01 17:25:39 +08:00
Mart van Santen
62e5b0aa6b Force version 2022-04-01 17:13:18 +08:00
Mart van Santen
9fce6c8ec3 Add some debug 2022-04-01 17:02:52 +08:00
Mart van Santen
e5cb358f39 Add additional debugging 2022-04-01 16:58:11 +08:00
Mart van Santen
e97d82c6f0 Convert string object to dict 2022-04-01 16:52:57 +08:00
Mart van Santen
617f46835e Use getter to get value 2022-04-01 16:45:25 +08:00
Mart van Santen
3291f7809b Add debugging 2022-04-01 16:39:22 +08:00
Mart van Santen
77b6364cde Fix typo 2022-04-01 16:28:59 +08:00
Mart van Santen
047b34bfc7 Add debugging 2022-04-01 15:37:56 +08:00
Mart van Santen
a4981c8c52 Added CLI commands 2022-04-01 15:15:30 +08:00
Mart van Santen
2d877d91cc Add additional requirement 2022-03-31 14:35:41 +08:00
Mart van Santen
ab231d74ec add hydr client dep 2022-03-31 09:04:39 +08:00