Set date to epoch beginning.

This commit is contained in:
Pierre Ozoux 2022-05-19 12:23:46 +02:00
parent 69120adc10
commit 14a631aac3
3 changed files with 18 additions and 10 deletions

View file

@ -22,14 +22,22 @@ For CI, there is still [a bug](https://github.com/Kong/insomnia/issues/4747) we
## Todo ## Todo
- ExternalID - [ ] Meta -> ([can't implement yet](https://github.com/nextcloud/server/issues/22640))
- json exceptions
- Meta ->
- createdAt - createdAt
- lastModified - lastModified
- if no emails in user, return nice array - [ ] ExternalID
- pagination - [ ] Users
- group member removal - [ ] Groups - [waiting for feedback](https://help.nextcloud.com/t/add-metadata-to-groups/139271)
- [ ] if no emails in user, return nice array
- [ ] json exceptions
- [ ] group member removal
- [ ] pagination
- [ ] CI/CD
- [ ] Lint cs:check
- [ ] test psalm
- [ ] test insomnia
- [ ] publish app on app store
## Quick "Deploy" to test ## Quick "Deploy" to test

View file

@ -49,8 +49,8 @@ class SCIMGroup {
'meta' => [ 'meta' => [
'resourceType' => 'Group', 'resourceType' => 'Group',
'location' => '/Groups/' . $groupId, 'location' => '/Groups/' . $groupId,
'created' => '2022-04-28T18:27:17.783Z', // todo 'created' => '1970-01-01T00:00:00.000Z',
'lastModified' => '2022-04-28T18:27:17.783Z' // todo 'lastModified' => '1970-01-01T00:00:00.000Z'
], ],
'members' => $members 'members' => $members
]; ];

View file

@ -45,8 +45,8 @@ class SCIMUser {
'meta' => [ 'meta' => [
'resourceType' => 'User', 'resourceType' => 'User',
'location' => '/Users/' . $userId, 'location' => '/Users/' . $userId,
'created' => '2022-04-28T18:27:17.783Z', // todo 'created' => '1970-01-01T00:00:00.000Z',
'lastModified' => '2022-04-28T18:27:17.783Z' // todo 'lastModified' => '1970-01-01T00:00:00.000Z'
], ],
'userName' => $userId, 'userName' => $userId,
'displayName' => $targetUserObject->getDisplayName(), 'displayName' => $targetUserObject->getDisplayName(),