15111 Commits

Author SHA1 Message Date
Moriz Wahl
65a250a1aa chore(release): v1.23.0 2023-07-25 17:22:38 +02:00
mahula
69fb1e162f
Merge pull request #3144 from gradido/change-contribution-by-link-text
refactor(frontend): add contribution by link information to locales
2023-07-25 14:57:12 +02:00
Hannes Heine
9d91786d38
Merge branch 'master' into change-contribution-by-link-text 2023-07-25 14:34:29 +02:00
mahula
6fead7447b add contribution by link information to french locales 2023-07-25 14:31:33 +02:00
mahula
e4f429bd8a
Merge pull request #3153 from gradido/fix-admin-interface-roles
fix(admin): user role in admin interface
2023-07-25 12:35:38 +02:00
Moriz Wahl
358399fd12 only admins can delete users 2023-07-25 12:19:25 +02:00
Moriz Wahl
8c1d433bd9 roles are stored in uppercase by the code! 2023-07-24 16:43:20 +02:00
Moriz Wahl
2de0b620c0 test that moderator cannot change roles 2023-07-24 16:04:03 +02:00
Moriz Wahl
1d2bb05069 check if roles are present in store, this may happen when going to the admin interface 2023-07-24 15:53:07 +02:00
Moriz Wahl
3505460ea8 add admin role to store 2023-07-24 15:43:55 +02:00
Moriz Wahl
a1d12c3c68 do not pass USER role by update role. Simplify logic 2023-07-24 15:40:05 +02:00
Moriz Wahl
d82a994eeb remove isAdmin from guards, simplify logic 2023-07-24 14:58:43 +02:00
Moriz Wahl
fdf40a6ec7 remove flush promises 2023-07-24 14:46:55 +02:00
elweyn
03ae59627d Fix emit and role as uppercase 2023-07-24 10:00:15 +02:00
elweyn
19ba385e46 Test UserQuery to get jest line check. 2023-07-23 18:58:12 +02:00
elweyn
557ffed4ef Add flushPromises. 2023-07-23 18:57:44 +02:00
elweyn
e0b84b52a0 Add moderator role selection of roles. 2023-07-23 17:36:21 +02:00
elweyn
adae41d2d0 Add new roles to mock objects. 2023-07-23 17:35:45 +02:00
elweyn
8934e9205b Change of roles added to CreationConfirm. 2023-07-23 16:43:26 +02:00
elweyn
037178bbe1 Add moderator object. 2023-07-23 16:42:32 +02:00
elweyn
06033775e7 Change user query to get roles array & setUserRole mutation. 2023-07-23 16:42:03 +02:00
elweyn
489a043aa7 Refactor backend findUsers query to find user roles. 2023-07-23 16:09:58 +02:00
elweyn
9f00b4e73a Get roles property of verifyLogin query. 2023-07-23 11:11:13 +02:00
elweyn
1a4c42ea26 Add roles check to the guards verifyLogin. 2023-07-23 11:10:12 +02:00
elweyn
bed2b86ea5 Test guards with roles array for verfiyLogin. 2023-07-23 11:09:39 +02:00
clauspeterhuebner
8b2d07c0af
Merge pull request #3074 from gradido/3030-feature-role-administration-backend
feat(backend): 3030 feature role administration backend
2023-07-19 01:03:27 +02:00
Claus-Peter Huebner
4b04f81f02 add default value on field createdAt like it is in migration 2023-07-18 16:32:59 +02:00
Claus-Peter Huebner
0e8ef23361 Merge branch '3030-feature-role-administration-backend' of github.com:gradido/gradido into 3030-feature-role-administration-backend 2023-07-18 16:06:57 +02:00
Claus-Peter Huebner
1b853c44e4 set correct rolename for ROLE_UNAUTHORIZED 2023-07-18 16:06:42 +02:00
Moriz Wahl
2d1bf3c510 add roles to store 2023-07-18 14:10:42 +02:00
Moriz Wahl
ef16fd8e31 add frontend part for roles 2023-07-18 13:53:18 +02:00
Moriz Wahl
802b7cc3dc Merge branch '3030-feature-role-administration-backend' of github.com:gradido/gradido into 3030-feature-role-administration-backend 2023-07-18 13:43:10 +02:00
mahula
322cf794a9 add contribution by link information to locaes 2023-07-17 12:15:41 +02:00
Claus-Peter Huebner
36e410a263 enum as null | undefined 2023-07-14 20:10:41 +02:00
Claus-Peter Huebner
ca82341592 Merge remote-tracking branch 'origin/master' into 3030-feature-role-administration-backend 2023-07-14 20:08:36 +02:00
Claus-Peter Huebner
abc7128e5f enum solution and graphql-schema-validation 2023-07-14 20:08:06 +02:00
Moriz Wahl
ff08e410e4 Merge branch '3030-feature-role-administration-backend' of github.com:gradido/gradido into 3030-feature-role-administration-backend 2023-07-13 21:14:50 +02:00
Claus-Peter Huebner
03f60fa4d4 Merge branch '3030-feature-role-administration-backend' of
github.com:gradido/gradido into 3030-feature-role-administration-backend
2023-07-13 21:14:27 +02:00
Claus-Peter Huebner
46151006b9 pure Verzweiflung... 2023-07-13 21:10:56 +02:00
einhornimmond
78a5910760
Merge pull request #3132 from gradido/iota4_extra_module_pack_transaction
feat(other): iota-tangle-connector sending transaction
2023-07-13 16:33:41 +02:00
Moriz Wahl
736c9228a6 Merge branch '3030-feature-role-administration-backend' of github.com:gradido/gradido into 3030-feature-role-administration-backend 2023-07-13 14:39:05 +02:00
clauspeterhuebner
f00c5cd9cb
Update backend/src/graphql/resolver/UserResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-07-13 13:36:12 +02:00
clauspeterhuebner
1456d4a74a
Update backend/src/graphql/resolver/UserResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-07-13 13:34:33 +02:00
einhorn_b
000b9c1492 fix spelling 2023-07-13 08:37:39 +02:00
clauspeterhuebner
47bf651ba3
Update backend/src/graphql/directive/isAuthorized.ts
good hint, many thx...

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2023-07-12 22:53:38 +02:00
einhorn_b
6bb34aa606 remove unneccessary import 2023-07-12 17:48:07 +02:00
einhorn_b
6b37022fc2 adjust according to Claus-Peters Suggestions 2023-07-12 17:33:06 +02:00
Claus-Peter Huebner
928091029a remove console.logs 2023-07-11 19:35:58 +02:00
Claus-Peter Huebner
538fd6a7ec Merge remote-tracking branch 'origin/master' into 3030-feature-role-administration-backend 2023-07-11 18:53:43 +02:00
Claus-Peter Huebner
4beae51475 rework PR-comments 2023-07-11 18:50:51 +02:00