Hi,

Is there any way to provide resource specific access to different users?

In my use case, user A and B are using RESTCONF over NBI to access list
elements maintained in md-sal operational data store. This is the example
yang schema specific to my case.




*container X {  list L {    key "user"    leaf user {*


*      ...    }    leaf data {*



*      ...    }  }}*

Use case I am interested in is that, user A should be authorized to access
value (using RESTCONF) in "data" field only if list L's element is having
"user" field set with value 'A' (i.e. username of user A) and similarly
user B should be authorized to access value in "data" field only if list
L's element is having "user" field set with value 'B'.

Are there any ways to achieve such kind of controlled access, specifically
in pre-karaf helium release?

Thanks.

Regards,
Amit
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to