A strange field in permissionUser.json
Zeno Tajoli
(01 Jul 2019 10:34 EDT)
|
Re: A strange field in permissionUser.json
Wayne Schneider
(01 Jul 2019 10:42 EDT)
|
Re: A strange field in permissionUser.json Zeno Tajoli (01 Jul 2019 10:51 EDT)
|
Re: A strange field in permissionUser.json Zeno Tajoli 01 Jul 2019 10:50 EDT
Hi Wayne and all, yes, it make sense. And it is quite logical. Thank you very much for the answer. Bye Zeno Tajoli Il 01/07/2019 16:41, Wayne Schneider ha scritto: > Hi, Zeno. userId is the UUID of the record in the users storage module > (mod-users). id is the UUID of the "permissions user" (so a UUID that is > local to mod-permissions). Does that make sense? It's confusing because > the documentation is perhaps not ideal. I might have written: > > "id": { > "description": "The globally unique (UUID) id of the permissions > user record", > "type": "string" > }, > "userId": { > "description": "A foreign key (UUID) relating the permissions > user record to the user record from the users storage module", > "type": "string" > }, > "permissions": { > "description": "A list of permission names granted to this user", > "type": "array" > } > > wayne > > On Mon, Jul 1, 2019 at 9:34 AM Zeno Tajoli <zeno.tajoli@atcult.it > <mailto:zeno.tajoli@atcult.it>> wrote: > > Hi to all, > > To migrate user from a previous ILS to Folio is mandatory to upload > also > 'permissions' ad I know. > > He Json file to use has in fact 3 fields: > > id = "The globally unique (UUIDO) id of the user" > userId = "A foreign key (UUID) from the users module" > permissions = "A list of permission names owned by this user" > > The fields 'id' and 'permissions' are clear. > > But what is 'userId' ? > Is it a fix value ? > Where can I read it ? > > The official json structure of permissions: > https://github.com/folio-org/mod-permissions/blob/master/ramls/permissionUser.json > > Bye > Zeno Tajoli > > > > > -- > Zeno Tajoli > System Librarian > > @CULT Srl > Via Quintino Sella, 33 - 00187 Roma > Tel +39 06 89873504 - Fax +39 06 89873496 > zeno.tajoli@atcult.it <mailto:zeno.tajoli@atcult.it> > > www.atcult.it <http://www.atcult.it> > > Questo messaggio è destinato alle sole persone indicate e può contenere > informazioni riservate. > Ogni altro uso del messaggio è vietato. Se avete ricevuto questa e-mail > per errore, siete pregati > di cancellare l'originale e comunicarcelo immediatamente via e-mail > all'indirizzo info@atcult.it <mailto:info@atcult.it> > > ------------------------------------------------------ > You received this message because you are subscribed to OLE Mailing List > "sysops-sig". > To unsubscribe from this list and stop receiving emails from it, follow > this link: http://archives.simplelists.com. > To post to this group, send email to > sysops-sig@ole-lists.openlibraryfoundation.org > <mailto:sysops-sig@ole-lists.openlibraryfoundation.org> > <mailto:sysops-sig@ole-lists.openlibraryfoundation.org > <mailto:sysops-sig@ole-lists.openlibraryfoundation.org>>. > Visit this group at > https://ole-lists.openlibraryfoundation.org<https://ole-lists.openlibraryfoundation.org> > . > > ------------------------------------------------------ > You received this message because you are subscribed to OLE Mailing List > "sysops-sig". > To unsubscribe from this list and stop receiving emails from it, follow > this link: > http://www.simplelists.com/confirm.php?u=eAsHxmigbxwnHMJjSwEKl3I1lRhNGciO. > To post to this group, send email to > sysops-sig@ole-lists.openlibraryfoundation.org > <mailto:sysops-sig@ole-lists.openlibraryfoundation.org>. > Visit this group at > https://ole-lists.openlibraryfoundation.org<https://ole-lists.openlibraryfoundation.org> > . > -- Zeno Tajoli System Librarian @CULT Srl Via Quintino Sella, 33 - 00187 Roma Tel +39 06 89873504 - Fax +39 06 89873496 zeno.tajoli@atcult.it www.atcult.it Questo messaggio è destinato alle sole persone indicate e può contenere informazioni riservate. Ogni altro uso del messaggio è vietato. Se avete ricevuto questa e-mail per errore, siete pregati di cancellare l'originale e comunicarcelo immediatamente via e-mail all'indirizzo info@atcult.it