Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use afb_token in contexts
[src/app-framework-binder.git]
/
src
/
afb-auth.c
diff --git
a/src/afb-auth.c
b/src/afb-auth.c
index
90c8ddc
..
6747c9e
100644
(file)
--- a/
src/afb-auth.c
+++ b/
src/afb-auth.c
@@
-62,7
+62,7
@@
int afb_auth_check(struct afb_xreq *xreq, const struct afb_auth *auth)
int afb_auth_has_permission(struct afb_xreq *xreq, const char *permission)
{
int afb_auth_has_permission(struct afb_xreq *xreq, const char *permission)
{
- return afb_cred_has_permission(xreq->cred, permission,
afb_context_uuid(&xreq->context)
);
+ return afb_cred_has_permission(xreq->cred, permission,
&xreq->context
);
}
/*********************************************************************************/
}
/*********************************************************************************/