111 Commits

Author SHA1 Message Date
Jamie Howard
a742a5d6bc
Merge pull request #14458 from strapi/fix/13360/camel-case-email
Treat email as lowercase when creating a user
2022-09-29 13:48:55 +01:00
Jamie Howard
bfbab082cf fix(admin): lowercase email when creating user 2022-09-26 15:52:08 +01:00
Simone Taeggi
2870ba20f9 Merge branch 'features/api-token-v2' into api-token-v2/regenerate-permission 2022-09-09 00:53:32 +02:00
Simone Taeggi
1a289ca1ff Revert "merge main"
This reverts commit 5dc28ed5e5ead9b83b8bb30f96efc6eb6f1d3e3f.
2022-09-08 23:49:07 +02:00
Simone Taeggi
5dc28ed5e5 merge main 2022-09-08 23:40:39 +02:00
Simone Taeggi
e1a0ae803e Merge branch 'main' into features/api-token-v2 2022-09-08 22:16:55 +02:00
Simone Taeggi
527bad15ef update e2e test 2022-09-08 00:08:59 +02:00
Simone Taeggi
a78c2a88cb update snasphot 2022-09-07 23:09:10 +02:00
Simone Taeggi
99b47e7178 update snapshots 2022-09-07 22:48:17 +02:00
Simone Taeggi
ba9cdb8d7f update admin permissions e2e snapshots 2022-09-07 21:01:32 +02:00
Simone Taeggi
cb0bacbfe9 update e2e failing snapshot 2022-09-07 18:58:42 +02:00
Simone Taeggi
e4550714d8 update e2e failing snapshot 2022-09-07 18:54:26 +02:00
Alexandre Bodin
961d535ea9 Fix for in working with undefined 2022-09-06 20:32:15 +02:00
Simone Taeggi
9ddd46a776 add the regenerate permission to the api token 2022-09-06 11:02:44 +02:00
Alexandre Bodin
4e989321e3 Fix eslint core/admin 2022-09-05 16:15:21 +02:00
Simone Taeggi
078c4fb96c merge main in features/api-token-v2 2022-09-01 09:50:19 +02:00
Jean-Sébastien Herbaux
b9538ea7c3
Merge pull request #14247 from strapi/api-token-v2/throw-on-unknown-permission
Validate & throw on unknown permissions for API tokens
2022-08-31 10:34:32 +02:00
Gustav Hansen
51caa5f5a3 chore: Update e2e snapshot tests 2022-08-30 15:44:12 +02:00
Convly
e7ca50f6b9 Validate permissions for api-tokens & throw on unknown permissions 2022-08-29 16:33:41 +02:00
Ben Irvin
3cd1a9b183
Merge branch 'features/api-token-v2' into api-token-v2/restrict-lifespans 2022-08-29 12:37:53 +02:00
Ben Irvin
b4c8cae41d
Merge pull request #14234 from strapi/api-token-v2/allow-empty-permissions-array
allow empty array of permissions
2022-08-29 12:34:57 +02:00
Simone
4f7db2ef72
Merge pull request #14180 from strapi/api-token-v2/settings-access-api-token
RBAC on API tokens settings access
2022-08-29 11:30:26 +02:00
Ben Irvin
2dea049a8c fix test 2022-08-29 10:50:46 +02:00
Ben Irvin
14c183ce51 validate lifespan 2022-08-26 10:33:18 +02:00
Simone Taeggi
cce909d1ae add the access action to the e2e tests 2022-08-25 10:00:52 +02:00
Simone Taeggi
3017fd5e41 update e2e test 2022-08-25 08:52:42 +02:00
Ben Irvin
2195e9a2f2 fix comment 2022-08-24 19:05:13 +02:00
Ben Irvin
3ca863d80b fix failing test 2022-08-24 19:02:38 +02:00
Ben Irvin
2359ca1cc6 fix tests 2022-08-24 18:05:36 +02:00
Ben Irvin
589a5bd1cf fix test timing 2022-08-24 12:37:21 +02:00
Ben Irvin
98d82a0285 fix tests 2022-08-24 10:01:36 +02:00
Ben Irvin
3850c9452b Merge branch 'features/api-token-v2' into api-token-v2/backend-expirations 2022-08-24 09:00:04 +02:00
Ben Irvin
d4c3c6e9af Merge branch 'api-token-v2/fix-failing-e2e-tests' into api-token-v2/regenerate-tokens-api 2022-08-23 20:18:13 +02:00
Ben Irvin
0b8ecaaccb sort permissions to compare 2022-08-23 20:08:45 +02:00
Ben Irvin
5085f5ed45 actually fix test 2022-08-23 19:19:56 +02:00
Ben Irvin
353efdf84c fix test 2022-08-23 18:28:34 +02:00
Ben Irvin
97f91dd7a5 fix failing tests 2022-08-23 17:24:29 +02:00
Ben Irvin
7e446b7414 add token usage tests 2022-08-23 15:04:24 +02:00
Ben Irvin
8803dbbd46 fix tests 2022-08-23 14:14:04 +02:00
Ben Irvin
3c724eb483 rename tests 2022-08-23 13:52:00 +02:00
Ben Irvin
7b389e49a9 add test todos 2022-08-23 13:03:15 +02:00
Ben Irvin
0918729d21 Merge branch 'features/api-token-v2' into api-token-v2/backend-expirations 2022-08-22 17:54:33 +02:00
Ben Irvin
aa5a1c7ed7 regenerate throws on invalid id 2022-08-22 12:33:00 +02:00
Ben Irvin
dabbd42ca7 assert acessKey has changed 2022-08-22 12:22:36 +02:00
Ben Irvin
ae90cf5fd0 Merge branch 'api-token-v2/regenerate-tokens-api' into api-token-v2/backend-expirations 2022-08-22 12:11:46 +02:00
Ben Irvin
6de74793df add test todos 2022-08-22 09:26:20 +02:00
Ben Irvin
e3961fb298 rename lastUsed to lastUsedAt 2022-08-19 16:36:28 +02:00
Ben Irvin
7ce7db6604 update tests 2022-08-18 14:12:34 +02:00
Ben Irvin
9941198dac fix regeneration 2022-08-18 14:03:59 +02:00
Ben Irvin
fd05d49346 fix linting 2022-08-18 12:24:13 +02:00