579 Commits

Author SHA1 Message Date
Ben Irvin
f97c59ff90 fix token builder 2022-08-12 09:50:10 +02:00
ivanThePleasant
3ead6f2487 Move hash function to user services instead of it being a separate service 2022-08-12 10:19:40 +03:00
ivanThePleasant
cc17c00fd6 Fix lint issues 2022-08-11 23:09:11 +03:00
Ben Irvin
8ca7c13449 add some failed attempts at improving 2022-08-11 18:04:59 +02:00
ivanThePleasant
7e5b38d588 Merge branch 'master' into chore/user-level-data 2022-08-11 18:28:58 +03:00
ivanThePleasant
f8ac76491f Convert all server events to new format, refactor admin events userAdminId, refactor tests 2022-08-11 15:56:39 +03:00
Ben Irvin
fc752052c8 fix delete test 2022-08-11 13:02:28 +02:00
Ben Irvin
df8b8750a7 fix delete 2022-08-11 13:00:21 +02:00
Ben Irvin
e4d1f59b34 reorganize logic 2022-08-11 12:18:53 +02:00
Ben Irvin
22c82a7258 add custom auth tests 2022-08-11 12:17:27 +02:00
Ben Irvin
6882d5dd0a fix test 2022-08-11 11:04:28 +02:00
Ben Irvin
5f0a9bdf84 only run one delete query 2022-08-11 11:04:12 +02:00
Ben Irvin
2d9c9a2119 update permissions works 2022-08-11 10:48:40 +02:00
Alexandre Bodin
8e486dd05b Fix eslint --fix error 2022-08-11 10:20:50 +02:00
Alexandre Bodin
03aa29e527 Fix merge issue 2022-08-11 10:20:50 +02:00
Alexandre Bodin
17866010b7 Apply no promise return 2022-08-11 10:20:50 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
Ben Irvin
f16d86f8ec remove test 2022-08-10 17:36:21 +02:00
Ben Irvin
fe51a07d01 fix updates 2022-08-10 17:35:15 +02:00
Ben Irvin
4f39f046d9 test update 2022-08-10 10:57:19 +02:00
Ben Irvin
7d59934668 allow empty permissions array on non-custom tokens 2022-08-10 10:55:49 +02:00
Pierre Noël
310833b9c8
Merge pull request #13964 from strapi/fix/logo-customization
Fix upload of menu logo
2022-08-09 18:41:35 +02:00
Ben Irvin
6eba2d80bf fix tests to work with custom token changes 2022-08-09 17:49:28 +02:00
Ben Irvin
e7294f812d only return permissions with custom tokens 2022-08-09 17:48:52 +02:00
WalkingPizza
b43a35aaf7 Replace trigger permission with update 2022-08-09 17:20:19 +02:00
ivanThePleasant
7291d2e6cf Change user hashing to be a service on admin, introduce adminUserId property to the send function, refactor several events 2022-08-09 12:20:25 +03:00
Ben Irvin
385fbe500e add non-custom permissions param test 2022-08-09 10:53:16 +02:00
Ben Irvin
a5fcc3eaaf fix failure tests 2022-08-09 10:49:44 +02:00
Ben Irvin
4229f41b4a use ValidationError 2022-08-09 10:28:42 +02:00
Ben Irvin
895e0c1fe4 return permissions with custom token create 2022-08-09 10:27:34 +02:00
Ben Irvin
e3bd58c69a update test names 2022-08-09 10:23:15 +02:00
Ben Irvin
8cc144679d accept permissions params for api-tokens 2022-08-09 09:59:09 +02:00
Ben Irvin
f208e0c69d skip custom tests 2022-08-08 22:54:58 +02:00
Ben Irvin
ff559cdf6b custom token test 2022-08-08 22:54:08 +02:00
Ben Irvin
004a959a96 expect token status 2022-08-08 22:53:25 +02:00
Ben Irvin
d70ab84c89 remove randomness 2022-08-08 22:51:01 +02:00
Ben Irvin
01bbebff19 use constants 2022-08-08 22:50:36 +02:00
Ben Irvin
78063a5591 add test for custom without permissions 2022-08-08 17:21:10 +02:00
Ben Irvin
6641ba1f64 update tests 2022-08-08 17:09:17 +02:00
Ben Irvin
d78ec0243d use constant 2022-08-08 17:06:38 +02:00
Ben Irvin
0b057257fd add custom type 2022-08-08 15:00:46 +02:00
WalkingPizza
e0350558bc Add missing permissions to webhook triggering endpoint 2022-08-06 15:19:20 +02:00
Convly
5c7576db65 Fix update & create 2022-08-05 12:31:16 +02:00
Convly
3a9709bdbf Attach permission model to tokens, update api token' strategy & services 2022-08-05 12:01:36 +02:00
Pierre Noël
1f41b4ba48 Fix upload of menu logo 2022-08-04 09:57:26 +02:00
Convly
9aff190dc3 Merge branch 'api-token-v2/engine-abstraction' into api-token-v2/up-engine-impl 2022-08-01 10:51:22 +02:00
Convly
77d8499f65 Skip engine test while it's being refactored 2022-08-01 10:49:33 +02:00
Convly
31ef51e245 Update wording 2022-08-01 10:48:01 +02:00
Convly
72c721e8e2 Remove old engine test 2022-08-01 09:31:11 +02:00