Re: [dev] Role-based authorization

2018-01-12 Thread Gregg Reynolds
On Jan 12, 2018 3:23 PM, "Mats Wichmann" wrote: On 01/12/2018 12:54 PM, Gregg Reynolds wrote: > Looking for more info on this. Anybody have a use case or two? Sample code? > > For example, in a household. Clients with admin role can turn things on or > off. Mom and Pop might use multiple devices

Re: [dev] Role-based authorization

2018-01-12 Thread Mats Wichmann
On 01/12/2018 12:54 PM, Gregg Reynolds wrote: > Looking for more info on this. Anybody have a use case or two? Sample code? > > For example, in a household. Clients with admin role can turn things on or > off. Mom and Pop might use multiple devices to control the network. Kids > cannot. Ok. Why u

Re: [dev] Question about discoverable resources

2018-01-12 Thread Mats Wichmann
On 01/12/2018 01:46 PM, Gregg Reynolds wrote: > On Jan 12, 2018 2:24 PM, "Thiago Macieira" > wrote: > > On Friday, 12 January 2018 09:24:28 PST Filipe de Melo Silva wrote: >> So, are you saying that is impossible to reproduce this situation? > Suppose >> that we have a resource that can be discov

Re: [dev] Question about discoverable resources

2018-01-12 Thread Gregg Reynolds
On Jan 12, 2018 2:24 PM, "Thiago Macieira" wrote: On Friday, 12 January 2018 09:24:28 PST Filipe de Melo Silva wrote: > So, are you saying that is impossible to reproduce this situation? Suppose > that we have a resource that can be discovered ONLY by a certain kind of > users (ex.: Administrator

Re: [dev] a few more API questions (doc, mainly). long-ish.

2018-01-12 Thread Mats Wichmann
On 01/12/2018 12:15 PM, Dave Thaler wrote: > My view, as API maintainer... > > Mats writes: >> Question 1. How *do* you determine the official API list? Is it purely >> determined by the list of headers? Which is the correct list of headers? > > Yes, the correct list is the set of .h files co

Re: [dev] Question about discoverable resources

2018-01-12 Thread Thiago Macieira
On Friday, 12 January 2018 09:24:28 PST Filipe de Melo Silva wrote: > So, are you saying that is impossible to reproduce this situation? Suppose > that we have a resource that can be discovered ONLY by a certain kind of > users (ex.: Administrators), does IoTivity support it? I'm not sure that's

[dev] Role-based authorization

2018-01-12 Thread Gregg Reynolds
Looking for more info on this. Anybody have a use case or two? Sample code? For example, in a household. Clients with admin role can turn things on or off. Mom and Pop might use multiple devices to control the network. Kids cannot. Ok. Why use roles instead of just authenticating each device? If

Re: [dev] a few more API questions (doc, mainly). long-ish.

2018-01-12 Thread Nash, George
Inline [geo] -Original Message- From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Mats Wichmann Sent: Friday, January 12, 2018 10:19 AM To: IoTivity Developer List Subject: [dev] a few more API questions (doc, mainly). long-ish.

Re: [dev] a few more API questions (doc, mainly). long-ish.

2018-01-12 Thread Gregg Reynolds
On Jan 12, 2018 12:18 PM, "Mats Wichmann" wrote: ... we need to do a better job of categorizing/grouping, because it is hard to sort out from the website docs. Suggestion: the first order of business should be code refactoring and reorganization. App devs need the docs for the API, but those

Re: [dev] a few more API questions (doc, mainly). long-ish.

2018-01-12 Thread Gregg Reynolds
On Jan 12, 2018 12:18 PM, "Mats Wichmann" wrote: ... in the build scripts, RD_MODE is always either CLIENT or SERVER, I somehow got the impression that the RD stuff was dead and should be removed. No? G ___ iotivity-dev mailing list iotivity-dev@l

Re: [dev] a few more API questions (doc, mainly). long-ish.

2018-01-12 Thread Dave Thaler via iotivity-dev
My view, as API maintainer... Mats writes: > Question 1. How *do* you determine the official API list? Is it purely > determined by the list of headers? Which is the correct list of headers? Yes, the correct list is the set of .h files copied to the out/ directory by the build. > Is there a

Re: [dev] iotivity c++ docs?

2018-01-12 Thread Kinder, David B
After a bit of investigation, it appears the C++ documentation may not have been posted on the https://api-docs.iotivity.org site. There is C API doxygen-generated material at https://api-docs.iotivity.org/latest-c/ and Java API material at https://api-docs.iotivity.org/latest-java/ but nothing

[dev] a few more API questions (doc, mainly). long-ish.

2018-01-12 Thread Mats Wichmann
Question 1. How *do* you determine the official API list? Is it purely determined by the list of headers? Which is the correct list of headers? For example, doxygen has a list of headers, sometimes called out by name like: INPUT = . \ ../../csdk/include/octypes.h \

Re: [dev] Question about discoverable resources

2018-01-12 Thread Gregg Reynolds
On Jan 12, 2018 11:24 AM, "Filipe de Melo Silva" wrote: So, are you saying that is impossible to reproduce this situation? Suppose that we have a resource that can be discovered ONLY by a certain kind of users (ex.: Administrators), does IoTivity support it? See chapter 6 of the security spec.

[dev] iotivity c++ docs?

2018-01-12 Thread Mats Wichmann
The link on the documentation page https://www.iotivity.org/documentation points here for the C++ API: https://api-docs.iotivity.org/latest/index.html but that just picks up the C API again, it shows the exact same thing that the link for the C API does. Can this be fixed to point to the right

Re: [dev] Question about discoverable resources

2018-01-12 Thread Filipe de Melo Silva
So, are you saying that is impossible to reproduce this situation? Suppose that we have a resource that can be discovered ONLY by a certain kind of users (ex.: Administrators), does IoTivity support it? On Fri, Jan 12, 2018 at 12:56 PM, Thiago Macieira wrote: > On Friday, 12 January 2018 07:25:

Re: [dev] seeking volunteers to help improve IoTivity documentation

2018-01-12 Thread Mats Wichmann
On 01/11/2018 10:32 AM, LaBrecque, Margaret wrote: > We are seeking volunteers to help improve the IoTivity website documentation. > If I haven’t made a formal invitation to this list, consider it done now. We > don’t have a plan yet but for sure, we want to clean up the IoTivity wiki -- > so v

Re: [dev] seeking volunteers to help improve IoTivity documentation

2018-01-12 Thread Arthur Barros Lapprand
Hi everyone, I'm adding my superior to this thread so he can join the discussion. I'm not asking any questions for now but the interest on documentation remains. Regards, Lapprand Em qui, 11 de jan de 2018 às 14:35, LaBrecque, Margaret < margaret.labrec...@intel.com> escreveu: > Hi Gregg and Io

Re: [dev] Question about discoverable resources

2018-01-12 Thread Thiago Macieira
On Friday, 12 January 2018 07:25:13 PST Filipe de Melo Silva wrote: > Hi, > > Maybe you guys can help me with something. I have 2 resources (A and B) and > 2 devices (X and Y). I want to allow X to discover A and NOT B. The > opposite to Y (be able to discover B and NOT A). Can it be done? If so,

[dev] Question about discoverable resources

2018-01-12 Thread Filipe de Melo Silva
Hi, Maybe you guys can help me with something. I have 2 resources (A and B) and 2 devices (X and Y). I want to allow X to discover A and NOT B. The opposite to Y (be able to discover B and NOT A). Can it be done? If so, how? Can I do this kind of discover access control by the Access Control List