aboutsummaryrefslogtreecommitdiffstats
path: root/low-can-binding/binding/low-can-apidef.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-19 12:17:17 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-10-19 12:17:58 +0200
commitcfe2298c30237186eb71c52f4105eb8534560e44 (patch)
treef2f5600a7731ecb79badf7882f7478dcd57a3f72 /low-can-binding/binding/low-can-apidef.h
parent03fc96a9671d5739264f2208bfe2475641502164 (diff)
Make write permission use the same name everywhere
Confusion made with permission generated and legacy one which weren't the same. Removing unused source file Change-Id: I74f70b45358c052049ff84b872c0381915e27344 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding/low-can-apidef.h')
-rw-r--r--low-can-binding/binding/low-can-apidef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/low-can-binding/binding/low-can-apidef.h b/low-can-binding/binding/low-can-apidef.h
index 6f6ec926..1182b4fe 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 <afb/afb-binding>
#endif
/*static const struct afb_auth _afb_auths_v2_low_can[] = {
- { .type = afb_auth_Permission, .text = "urn:AGL:permission:low-can:platform: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:low-can:platform: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);