From: Romain Forlot Date: Thu, 30 Nov 2017 08:43:58 +0000 (+0100) Subject: Fix permission label X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=ce692241aed98a45da6c830686bd42ceef29ef6b;p=apps%2Flow-level-can-service.git Fix permission label Change-Id: I1c7299bdf9ff024f676b88860c8d31076f6806e0 Signed-off-by: Romain Forlot --- diff --git a/low-can-binding/binding/low-can-apidef.h b/low-can-binding/binding/low-can-apidef.h index 1182b4f..d8edab6 100644 --- a/low-can-binding/binding/low-can-apidef.h +++ b/low-can-binding/binding/low-can-apidef.h @@ -57,10 +57,10 @@ static const char _afb_description_v2_low_can[] = #include #endif /*static const struct afb_auth _afb_auths_v2_low_can[] = { - { .type = afb_auth_Permission, .text = "urn:AGL:permission:*:*platform:can:write ", .next = NULL} + { .type = afb_auth_Permission, .text = "urn:AGL:permission::platform:can:write", .next = NULL} };*/ -const struct afb_auth _afb_auths_v2_low_can[] = {afb::auth_permission("urn:AGL:permission:*:*platform:can:write ")}; +const struct afb_auth _afb_auths_v2_low_can[] = {afb::auth_permission("urn:AGL:permission::platform:can:write")}; void subscribe(struct afb_req req); void unsubscribe(struct afb_req req);