OpenMobileAlliance / OMA_LwM2M_for_Developers

OMA LightweightM2M public resources.
http://openmobilealliance.github.io/OMA_LwM2M_for_Developers/
Other
239 stars 52 forks source link

ACL: object creation from LwM2M server #268

Closed fdur closed 6 years ago

fdur commented 6 years ago

when a LwM2M Server creates under authorization an Object Instance (see section 7.3.2 Authorization) in the LwM2M Client, an Access Control Object Instance MUST be created in the LwM2M Client with the Resources values which MUST be set as given in the table just below

From my understanding, when a LwM2M creates an object instance on client side (like CREATE /9), an object instance needs to be created by the client itself in object 2 for this created object instance. Data in the object instance to be created in object 2:

Is it correct ?

ThGarnier commented 6 years ago

Hi Frederic, globally yes, even simpler ! In fact : hypothesis Server 1 is autorized (by the BS) to create instance of Object (e.g. 9) , when Server 1 (Short ID 200) send a CREATE /9, then an AC Object Instance (e.g ID 2) is allocated in/by the Client with ID 0 :9, ID 1:2, ID 3:200 (Server 1 as Access Control Owner on /9/2 has full access right granted for that /9/2 - so no mandatory ACL ID:2 needed for that Server 1 (7.3.2.1 1.A) - Server 1 is then able to manage ACL - to grant access right or the default ones- to the other Servers on /9/2 ) . Clearer ?

fdur commented 6 years ago

Thanks Thierry, this is clearer :) 👍