Subject: Re: [scim] time window for members in a group

From: "Morteza Ansari (moransar)" <[email-masked]>
Date: Tue, 10 Oct 2017 16:01:13 +0000

Interesting use case (sorry for getting to this so late). There is no SCIM WG at this point to have an official meeting, however, if this is potentially a common problem or others are interested we could have a non-official conversation and see if there is work to be done. We can always propose new work either as individual submissions or request a WG with a specific charter to be started to host the work. I think the key starting step is to see if this is relevant enough to people to work on refining the idea, write things up, review, etc.

Cheers,
Morteza

On 9/20/17, 9:39 AM, "scim on behalf of Palle Girgensohn" <[email-masked] on behalf of [email-masked]> wrote:

    Thanks for the reply!
    
    Yes, we were forced to do just that. It is of course a long process to add more attributes in the members box, but it would indeed be nice. 
    
    Are there any plans for new WG meetings?
    
    Palle
    
    > 20 sep. 2017 kl. 17:40 skrev Phil Hunt (IDM) <[email-masked]>:
    > 
    > The topic of additional metadata has come up before. This includes attribute verification level, consent, as well as expiration etc. 
    > 
    > There are a bunch of possibilities but the best is not clear (at least to me). Might be a good WG topic at some future stage. 
    > 
    > My guess is it would be best for now to define a new group whose enrollees/members have the data you need. 
    > 
    > Phil
    > 
    >> On Sep 20, 2017, at 4:49 AM, Palle Girgensohn <[email-masked]> wrote:
    >> 
    >> Hi,
    >> 
    >> We have the requirement to be able to describe during which time a user will be active in a group, not by adding and removing her in a timely manner, but by actually have startDate and endDate attributes on in the complex members attribute. This is because we need to be able do describe historical information and also information in advance, about when a student has attended or will attend a class/group so attendance records can be correctly maintained.
    >> 
    >> Since scim has a limitation that it does not allow custom schema elements in complex attributes, sadly his means that a normal scim Group cannot be used at all. instead we need to define a specific StudentGroup that mimics the beahviour of the standard group, but has a different complex attribute,  StudentMembers:
    >> 
    >> {
    >> "schemas": [
    >>   "urn:ietf:params:scim:schemas:core:2.0:Group",
    >> ],
    >> "id": "e9e30dba-f08f-4109-8486-d5c6a331660a",
    >> "externalId": "e9e30dba-f08f-4109-8486-d5c6a331660a",
    >> "displayName": "N3A Kurser",
    >> "urn:scim:schemas:extension:sis:school:1.0:StudentGroup": {
    >>   "studentMemberships": [
    >>     {
    >>       "value": "2819c223-7f76-453a-919d-413861904646",
    >>       "$ref": "/v2/Users/2819c223-7f76-453a-919d-413861904646",
    >>       "displayName": "Barbara Jensen",
    >>       "startDate": "2015-01-01",
    >>       "endDate": "2015-10-30"
    >>     }
    >>   ],
    >>   "studentGroupType": "Undervisning",
    >>   "schoolType": "GY",
    >>   "schoolYears": [
    >>     2
    >>   ]
    >> },
    >> "meta": {
    >>   "resourceType": "Group",
    >>   "created": "2010-01-23T04:56:22Z",
    >>   "lastModified": "2011-05-13T04:42:34Z",
    >>   "version": "W/\"3694e05e9dff592\"",
    >>   "location": "/v2/Groups/e9e30dba-f08f-4109-8486-d5c6a331660a"
    >> }
    >> }
    >> 
    >> 
    >> Would it possibly to discuss an alternative path where startDate and endDate where part of the complex attribut "members"? This would allow a much greater interoperability since a scim system that does not know about the startDate/endDate attributes would just ignore them.
    >> 
    >> Any other ideas or thoughs about this?
    >> 
    >> Thanks,
    >> Palle
    >> 
    >> _______________________________________________
    >> scim mailing list
    >> [email-masked]
    >> https://www.ietf.org/mailman/listinfo/scim
    > 
    > _______________________________________________
    > scim mailing list
    > [email-masked]
    > https://www.ietf.org/mailman/listinfo/scim
    
    _______________________________________________
    scim mailing list
    [email-masked]
    https://www.ietf.org/mailman/listinfo/scim