Hi Charitha,
I think adding a group hierarchy would be more user friendly. Then one can
group devices like
e.g.
Building X -> Floor Y -> Room Z ->{device i}
Then device permission/enrolment/sharing can be managed at each level of
the grouping, generalising your proposal. The
permission/enrolment/sharing would be cascaded down much like a Linux file
system permissions.
All we need to add is parent/child relation to the group and the permission
cascading mechanism.
WDYT?
Cheers,
Ruwan
On Thu, Jul 2, 2015 at 2:11 PM, Charitha Goonetilleke <[email protected]>
wrote:
> Hi All,
>
>
> In current CDMF implementation devices and users are associated with each
> other in a flat space. There is no way to group set of devices and call
> them eg: First Floor A/Cs.
>
> Lacking this capability also creates a problem when a user (device owner)
> wants to view data/control set of devices within a single console.
>
> Solution:
>
> Devices can be grouped as displayed in image[1], then user (device owner)
> can manage set of devices together using device group. Also user(device
> owner) can share device groups with other users if required.
>
> Implementation Plan:
>
> Currently device object is implemented in CDMF as image[2].
>
> Device Group field can be introduced to Device Object and then can
> identify device by its group. Then users(have access to shared devices by
> device owner) will have access to device groups according to translated
> roles from permissions as illustrated in image[3].
>
> Following Device Group Management functionalities will be added on top of
> CDMF API layer.
>
> -
>
> Add new device group
> -
>
> Add new devices to device group
> -
>
> Share device groups with other users
> -
>
> Change group sharing permissions
> -
>
> Remove device group sharings
> -
>
> Get list of devices in device group
> -
>
> Update device group details
> -
>
> Move device to another group
> -
>
> Remove device group
>
>
> In UI level, devices will assigned to a default group which user specified
> when user completed the device enrollment. Later user can change device
> group/share to another if required.
>
> I have reviewed how grouping is done in recent API Manager release (1.9.0)
> and it follows a similar pattern.
>
> Please share your thoughts.
>
> Thanks & Regards,
> /charithag
>
>
> [image 1]
>
>
>
>
>
> [image 2]
>
>
> [image 3]
>
>
>
>
> --
> *Charitha Goonetilleke*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 751 3669 <%2B94777513669>
> Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag
> <https://www.facebook.com/charithag>, linkedin: charithag
> <http://www.linkedin.com/in/charithag>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
--
*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*
email: [email protected]
phone:(+94) 777739736
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture