Skip to content
This repository was archived by the owner on Nov 11, 2018. It is now read-only.

Commit 68ffe0d

Browse files
author
Gery Hirschfeld
committed
docs(context): Add todo for role checking
1 parent def89ae commit 68ffe0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/context.ts

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export class Context {
3131
) { }
3232

3333
public hasUserRoles(roles: string[]): boolean {
34+
// TODO: Here you should check if the user as the needed roles for the requested query
3435
return true;
3536
}
3637

0 commit comments

Comments
 (0)