22874 Commits

Author SHA1 Message Date
Jean-Sébastien Herbaux
a6c7c028ad
Merge pull request #13896 from strapi/api-token-v2/up-engine-impl
Make users-permissions auth strategy use the content API permissions engine
2022-08-03 09:46:13 +02:00
Convly
787a90de69 Fix typings 2022-08-02 17:43:40 +02:00
Convly
53f642f2ed Fix tests 2022-08-02 17:42:38 +02:00
Convly
c473d84128 Merge branch 'api-token-v2/engine-abstraction' into api-token-v2/up-engine-impl 2022-08-02 16:59:37 +02:00
Ben Irvin
8fd063ae57
Merge pull request #13942 from strapi/api-token-v2/engine-abstraction-tests
Api token v2/engine abstraction tests
2022-08-02 16:53:08 +02:00
Convly
7d40f78384 Revert action/subject to action only 2022-08-02 16:51:06 +02:00
Ben Irvin
b077e735ba fix braces 2022-08-02 16:49:03 +02:00
Ben Irvin
90bc708599 fix test name 2022-08-02 13:12:42 +02:00
Ben Irvin
f2def23f96 fix subject test 2022-08-02 13:07:42 +02:00
Ben Irvin
6e581e044b add type 2022-08-02 13:07:16 +02:00
Ben Irvin
640e0c859d add types 2022-08-02 12:57:41 +02:00
Ben Irvin
794b5e155d revert generateAbility 2022-08-02 10:44:31 +02:00
Ben Irvin
db1531cc98 fix mocks 2022-08-02 10:13:18 +02:00
Ben Irvin
a8d6c215d2 cleanup 2022-08-01 13:40:43 +02:00
Ben Irvin
20fe90de93 test subject objects 2022-08-01 13:31:27 +02:00
Ben Irvin
56c22e33f3 fix tests 2022-08-01 13:12:10 +02:00
Ben Irvin
295133bb33 finish condition tests 2022-08-01 12:28:04 +02:00
Ben Irvin
58156444e3 expect ability.rules 2022-08-01 11:46:13 +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
b033e023ba Fix front tests 2022-08-01 10:48:34 +02:00
Convly
31ef51e245 Update wording 2022-08-01 10:48:01 +02:00
Convly
faf531ef7b Fix front tests 2022-08-01 10:37:52 +02:00
Ben Irvin
59b34420d7 cleanup 2022-08-01 10:22:32 +02:00
Ben Irvin
b3133075e9 fix before* hooks test 2022-08-01 09:44:42 +02:00
Convly
72c721e8e2 Remove old engine test 2022-08-01 09:31:11 +02:00
Ben Irvin
51f8210a73 re-enable condition tests 2022-08-01 09:06:23 +02:00
Ben Irvin
7d4a106f99 fix registerFunction 2022-07-31 17:56:35 +02:00
Ben Irvin
673d471b30 start testing with mocks 2022-07-31 17:27:57 +02:00
Ben Irvin
1aec4fa0b7 allow createRegisterFunction to be wrapped 2022-07-31 17:15:36 +02:00
Ben Irvin
46ea867a27 fix conditions test 2022-07-29 12:22:22 +02:00
Convly
4ebc128ffb Make users-permissions auth strategy use the content API permission engine 2022-07-29 10:17:06 +02:00
Ben Irvin
526d2e9025 fix tests 2022-07-29 09:42:26 +02:00
Ben Irvin
04c9514ab7 test validate hook timing 2022-07-29 09:27:18 +02:00
Ben Irvin
525e535fdf test format.permission 2022-07-29 09:19:06 +02:00
Ben Irvin
de5c1a7f57 add todo tests 2022-07-28 19:40:43 +02:00
Ben Irvin
17036e964c test hooks 2022-07-28 19:15:40 +02:00
Ben Irvin
a59821a242 Merge branch 'api-token-v2/engine-abstraction' into api-token-v2/engine-abstraction-tests 2022-07-28 18:38:14 +02:00
Ben Irvin
f4a594e9c9 add tests 2022-07-28 18:33:02 +02:00
Ben Irvin
a8cfa42a70 add more examples 2022-07-28 17:51:03 +02:00
Ben Irvin
078fb244a8 add helper functions 2022-07-28 17:50:44 +02:00
Convly
43e360a641 Fix format permission handler argument 2022-07-28 17:05:29 +02:00
Ben Irvin
8ec0977584 add initial tests 2022-07-28 13:16:14 +02:00
Convly
80713eddff Merge branch 'api-token-v2/engine-abstraction' of github.com:strapi/strapi into api-token-v2/engine-abstraction 2022-07-28 11:57:52 +02:00
Convly
1453bc0d67 Fix light typings issues 2022-07-28 11:57:40 +02:00
Jean-Sébastien Herbaux
18301960d3
Update packages/core/permissions/README.md
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2022-07-28 11:37:03 +02:00
Convly
0eaa5d2915 Merge branch 'features/api-token-v2' into api-token-v2/engine-abstraction 2022-07-28 11:36:23 +02:00
Convly
0a1cc38e06 Merge branch 'master' into api-token-v2/engine-abstraction 2022-07-28 11:36:01 +02:00
Convly
5291691d47 Merge branch 'master' into features/api-token-v2 2022-07-28 11:35:51 +02:00
Pierre Noël
06694ec71d
Merge pull request #13871 from strapi/fix/ML-bulk-delete-without-a-folder-selected
Fix the bulk delete of files in the Media Library
2022-07-28 10:37:00 +02:00