Commit graph

417 commits

Author SHA1 Message Date
Arie Peterson
479f85c07d Give new admin user admin access to all current apps 2022-06-16 15:14:19 +02:00
Varac
7cc1b63365
Lint README.md, document .env file usgae 2022-06-16 12:33:03 +02:00
Varac
6eec663a07
Use stackspin_proxy instead of 127.0.0.1 2022-06-16 12:17:07 +02:00
Maarten de Waard
bbbd6e84be Merge branch '58-release-dashboard-helm-chart' into 'main'
Resolve "Release dashboard helm chart"

Closes #58

See merge request stackspin/dashboard!34
2022-06-15 14:04:56 +00:00
Maarten de Waard
94142b9ba7
set new image tags for dashboard and dashboard-backend 2022-06-15 15:48:17 +02:00
Maarten de Waard
e202197b9a Merge branch 'fix/roles-management' into 'main'
Fixed role management while changing own role and removed No access from dashboard dropdown role

Closes #55 and #56

See merge request stackspin/dashboard!33
2022-06-15 13:07:42 +00:00
Luka Radenovic
9cfb16a7e7 Fixed role management while changing own role and removed No access from dashboard dropdown role 2022-06-15 14:50:35 +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
bca39f1091 Merge branch 'feat/role-management-fixes' into 'main'
Modify FE for No access role

See merge request stackspin/dashboard!31
2022-06-15 12:18:40 +00: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
2999beb5be add role with id 3 as 'No access' in transformation 2022-06-10 16:09:07 +02:00
Davor
a1f04bc367 Change NextCloud to Nextcloud 2022-06-10 12:37:35 +02:00
Davor
0fef211f5d changed variable names to snake case 2022-06-10 11:34:33 +02:00
Davor
7691223a9c Merge branch 'main' into feat/role-management-fixes 2022-06-10 10:26:15 +02:00
Maarten de Waard
f36023db68 Merge branch 'feat/trigger-oauth-logout' into 'main'
Dashboard logout should trigger OAuth logout endpoint

See merge request stackspin/dashboard!32
2022-06-10 08:19:02 +00:00
Maarten de Waard
bcd854dcca
Add "REACT_APP_HYDRA_PUBLIC_URL" variable to deployment 2022-06-10 09:47:02 +02:00
Luka Radenovic
448518dade Fix build error 2022-06-10 09:44:29 +02:00
Luka Radenovic
af685ce3cc Remove domain helper and fix typos 2022-06-10 09:39:24 +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
Luka Radenovic
e5f06fc7b0 Add hydra public url to environment 2022-06-09 11:10:28 +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
Luka Radenovic
165998cf1c Dashboard logout should trigger OAuth logout endpoint 2022-06-06 12:14:30 +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
a033188b03 refactor UserModal and CurrentUserModal 2022-05-30 13:12:53 +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
bc8db8d248 Modify FE for No access role
- fix user settings modal - CurrentUserModal
- TODO: refactor UserModal and CurrentUserModal - it's same thing
2022-05-27 21:28:34 +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
Arie Peterson
d0edc5b2bc Merge branch '52-release-version-with-role-management' into 'main'
Resolve "Release version with role management"

Closes #52

See merge request stackspin/dashboard!30
2022-05-26 13:06:57 +00:00
Maarten de Waard
79335d302f
Release chart 0.2.3 with updated container image tags 2022-05-26 13:35:21 +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
87007c95c5 Merge branch 'feat/roles' into 'main'
Implemented roles management

See merge request stackspin/dashboard!29
2022-05-26 09:49:14 +00:00
Davor
eff6ce851f added ProtectedRoute for /users 2022-05-19 18:38:32 +02:00
Davor
f0439dba40 if user don't have new app_roles redirect to login
- fix app preview
2022-05-18 22:06:41 +02:00
Davor
79ec69a8f2 refactor admin tabs 2022-05-18 18:13:22 +02:00
Davor
6fec33685e remove 'users' from navigation for role User 2022-05-18 16:16:13 +02:00
Valentino K
db16fe5a37 Fixes 2022-05-17 13:56:35 +02:00