Bassel Kanso
|
4d72da1257
|
Merge branch 'features/api-token-v2' into api-token-v2/permissions-route
|
2022-08-25 16:59:12 +03:00 |
|
Bassel Kanso
|
a772f8a8ac
|
add content type permissions to the permissions route
|
2022-08-25 16:57:45 +03:00 |
|
Convly
|
87520328bd
|
Fix expiration date checks on api token strategy
|
2022-08-25 15:44:10 +02:00 |
|
Convly
|
3568034cb4
|
Add test for create & update custom token permissions
|
2022-08-25 15:16:53 +02:00 |
|
Convly
|
8732d07555
|
Prevent duplicate permissions on create too
|
2022-08-25 14:25:09 +02:00 |
|
Convly
|
2c71d7d069
|
Fix permissions update for custom token (uniqueness)
|
2022-08-25 14:23:36 +02:00 |
|
Jean-Sébastien Herbaux
|
4c6c5e5218
|
Merge pull request #14214 from strapi/api-token-v2/fix-update-checks
Fix API tokens' update due to wrong enum values
|
2022-08-25 14:12:46 +02:00 |
|
Convly
|
46b28db877
|
Fix invalid enum value used to assert 'changingTypeToCustom'
|
2022-08-25 13:56:24 +02:00 |
|
Ben Irvin
|
9e42345011
|
yup blocks unexpected fields
|
2022-08-25 12:01:52 +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
|
2b30007f86
|
lifespan must be greater than zero
|
2022-08-24 18:05:51 +02:00 |
|
Ben Irvin
|
2359ca1cc6
|
fix tests
|
2022-08-24 18:05:36 +02:00 |
|
Ben Irvin
|
53be3b5d30
|
make name unique
|
2022-08-24 18:04:12 +02:00 |
|
Bassel Kanso
|
e8bca67186
|
create route for api token layout
|
2022-08-24 18:08:17 +03:00 |
|
Ben Irvin
|
6577a9533c
|
use lodash/fp
|
2022-08-24 16:29:39 +02:00 |
|
Ben Irvin
|
574448deae
|
remove comments
|
2022-08-24 16:27:48 +02:00 |
|
Ben Irvin
|
a3a584d176
|
allow lifespan to update
|
2022-08-24 16:27:15 +02:00 |
|
Ben Irvin
|
1bd9fbdd85
|
fix return type
|
2022-08-24 16:26:40 +02:00 |
|
Ben Irvin
|
568892af97
|
add controller tests
|
2022-08-24 13:01:29 +02:00 |
|
Ben Irvin
|
589a5bd1cf
|
fix test timing
|
2022-08-24 12:37:21 +02:00 |
|
Ben Irvin
|
58a152ff2e
|
token counts as expired when zero
|
2022-08-24 10:55:28 +02:00 |
|
Ben Irvin
|
93f6ca30ef
|
typo
|
2022-08-24 10:54:34 +02:00 |
|
Ben Irvin
|
73345efa54
|
add tests for expiry
|
2022-08-24 10:48:24 +02:00 |
|
Ben Irvin
|
412f21e973
|
token doesn't authorize when expired
|
2022-08-24 10:32:24 +02:00 |
|
Ben Irvin
|
98d82a0285
|
fix tests
|
2022-08-24 10:01:36 +02:00 |
|
Simone Taeggi
|
9f634ac98f
|
Merge branch 'features/api-token-v2' into api-token-v2/settings-access-api-token
|
2022-08-24 09:35:42 +02:00 |
|
Ben Irvin
|
43465af282
|
improve lifespan validation
|
2022-08-24 09:10:30 +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 |
|
Simone Taeggi
|
3e7a45fdb8
|
define a new action to prevent the access of the api token page in the settings
|
2022-08-23 16:27:26 +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
|
e47db1a490
|
add comment
|
2022-08-23 13:52:33 +02:00 |
|
Ben Irvin
|
3c724eb483
|
rename tests
|
2022-08-23 13:52:00 +02:00 |
|
Ben Irvin
|
dbe79dc605
|
fix data type
|
2022-08-23 13:51:23 +02:00 |
|
Ben Irvin
|
e54e5f7ddc
|
fix lastUsedAt
|
2022-08-23 13:45:27 +02:00 |
|
Ben Irvin
|
7b389e49a9
|
add test todos
|
2022-08-23 13:03:15 +02:00 |
|
Ben Irvin
|
36b53e8046
|
more tests and fixes
|
2022-08-23 12:53:20 +02:00 |
|
Ben Irvin
|
28f078be0a
|
lifespan validation
|
2022-08-23 10:51:53 +02:00 |
|
Ben Irvin
|
1cf0cb5c4c
|
fix test
|
2022-08-23 10:49:27 +02:00 |
|
Ben Irvin
|
da00ba89e1
|
lifespan unit test
|
2022-08-22 18:46:22 +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 |
|