Last active
October 5, 2018 21:46
-
-
Save gdestuynder/0370e852ee20f8003f11784f610cf237 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"schema": "https://person-api.sso.mozilla.com/schema/v2/profile", | |
"user_id": { | |
"signature": { | |
"publisher": { | |
"alg": "RS256", | |
"typ": "JWS", | |
"name": "access_provider", | |
"value": "" | |
}, | |
"additional": [ | |
{ | |
"alg": "RS256", | |
"typ": "JWS", | |
"name": null, | |
"value": "" | |
} | |
] | |
}, | |
"metadata": { | |
"classification": "PUBLIC", | |
"visibility": "anyone", | |
"last_modified": "2018-01-01T00:00:00Z", | |
"created": "2018-01-01T00:00:00Z", | |
"verified": true | |
}, | |
"value": "ad|Mozilla-LDAP-Dev|dummymcdummy" | |
} | |
} | |
{ | |
"visilibity": [ | |
"anyone", | |
"registered_mozillians", | |
"follow_data_classification" | |
] | |
} | |
{ | |
"update": { | |
"user_id": "access_provider", | |
"login_method": "access_provider", | |
"active": "cis", | |
"last_modified": "cis", | |
"created": "cis", | |
"usernames": "mozilliansorg", | |
"first_name": "mozilliansorg", | |
"last_name": "mozilliansorg", | |
"primary_email": "access_provider", | |
"identities": "mozilliansorg", | |
"ssh_public_keys": "mozilliansorg", | |
"pgp_public_keys": "mozilliansorg", | |
"access_information": { | |
"access_provider": "access_provider", | |
"ldap": "ldap", | |
"hris": "hris", | |
"mozilliansorg": "mozilliansorg" | |
}, | |
"fun_title": "mozilliansorg", | |
"description": "mozilliansorg", | |
"location_preference": "mozilliansorg", | |
"office_location": "mozilliansorg", | |
"timezone": "mozilliansorg", | |
"preferred_languages": "mozilliansorg", | |
"tags": "mozilliansorg", | |
"pronouns": "mozilliansorg", | |
"picture": "mozilliansorg", | |
"uris": "mozilliansorg", | |
"phone_numbers": "mozilliansorg", | |
"alternative_name": "mozilliansorg" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1st struct is an example attribute, the change is in
metadata.visibility
2nd struct is just the list of possibilities.
follow_data_classification
means that:PUBLIC
is anyone/everyoneSTAFF_ONLY
is just staff, not NDAMOZILLA_CONFIDENTIAL
is both staff and NDAINDIVIDUAL_CONFIDENTIAL
is private/only self/only userWORKGROUP_CONFIDENTIAL
currently unused3rd struct shows what dinopark/mozilliansorg can affect. when not listed, it cannot modify
visibility
and these would have defaults set.The default would be
registered_mozillians
for most exceptaccess_information
which would befollow_data_classification