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
- ExternalID
- json exceptions
- Meta ->
- [ ] Meta -> ([can't implement yet](https://github.com/nextcloud/server/issues/22640))
- createdAt
- lastModified
- if no emails in user, return nice array
- pagination
- group member removal
- [ ] ExternalID
- [ ] Users
- [ ] 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

View file

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

View file

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