Ben Irvin
|
c61e402461
|
disallow updating lastUsed from api
|
2022-08-18 12:03:25 +02:00 |
|
Ben Irvin
|
745a3a8497
|
add lastUsed to yup validation schema
|
2022-08-18 12:00:47 +02:00 |
|
Ben Irvin
|
9de7791fad
|
cleanup
|
2022-08-18 11:53:30 +02:00 |
|
Ben Irvin
|
7b60783888
|
fix e2e tests
|
2022-08-18 11:02:24 +02:00 |
|
Ben Irvin
|
449f982781
|
Merge branch 'api-token-v2/permissions-for-api-token' into api-token-v2/access-times-backend
|
2022-08-18 10:55:11 +02:00 |
|
Ben Irvin
|
e28c9e7ec9
|
add lastUsed
|
2022-08-18 10:22:09 +02:00 |
|
Ben Irvin
|
215735b0cd
|
update lastUsed when token is accessed
|
2022-08-17 23:28:35 +02:00 |
|
Ben Irvin
|
f95bb29d76
|
add lastUsed
|
2022-08-17 23:28:20 +02:00 |
|
Ben Irvin
|
1436345e78
|
remove console.log
|
2022-08-17 10:10:28 +02:00 |
|
Ben Irvin
|
88c243243d
|
make error message unique
|
2022-08-16 10:18:41 +02:00 |
|
Ben Irvin
|
dbddec6c62
|
fix permission mapping
|
2022-08-16 10:11:32 +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
|
8ca7c13449
|
add some failed attempts at improving
|
2022-08-11 18:04:59 +02: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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Bassel Kanso
|
94b1ae4c70
|
Merge branch 'master' into features/api-token-v2
|
2022-08-04 14:11:28 +03:00 |
|
Alexandre Bodin
|
655615b738
|
Upgrade babel
|
2022-08-03 12:09:08 +02:00 |
|
dependabot[bot]
|
202eb2350b
|
Bump @babel/plugin-transform-runtime from 7.16.7 to 7.18.10
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.16.7 to 7.18.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.10/packages/babel-plugin-transform-runtime)
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-08-03 09:04:11 +00:00 |
|
Gustav Hansen
|
f25f1b45b7
|
Merge branch 'master' into chore/bump-ds-1-2-1-beta-0
|
2022-08-02 13:20:54 +02:00 |
|
Alexandre Bodin
|
7039c0d228
|
v4.3.2
|
2022-08-01 17:18:09 +02:00 |
|
Pierre Noël
|
1eab2fb08c
|
v4.3.1
|
2022-08-01 16:44:44 +02:00 |
|