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 |
|
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 |
|
Ben Irvin
|
b2b1432322
|
Merge branch 'features/api-token-v2' into api-token-v2/permissions-for-api-token
|
2022-08-18 12:20:45 +02:00 |
|
Ben Irvin
|
7b60783888
|
fix e2e tests
|
2022-08-18 11:02:24 +02:00 |
|
Ben Irvin
|
0972919247
|
list and get should return array of action strings
|
2022-08-12 09:52:47 +02:00 |
|
Ben Irvin
|
f97c59ff90
|
fix token builder
|
2022-08-12 09:50:10 +02:00 |
|
Ben Irvin
|
2d9c9a2119
|
update permissions works
|
2022-08-11 10:48:40 +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
|
7d59934668
|
allow empty permissions array on non-custom tokens
|
2022-08-10 10:55:49 +02: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
|
e3bd58c69a
|
update test names
|
2022-08-09 10:23:15 +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
|
78063a5591
|
add test for custom without permissions
|
2022-08-08 17:21:10 +02:00 |
|