Commit 20b8ac36e0b59eec183d4d64a654caa84bdcaa84

Authored by Marko Tikvić
1 parent 67549f461d
Exists in master and in 1 other branch v2

todo

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
1 # Webutility 1 # Webutility
2 Webutility package provides some useful tools for creating INIS KC server application: 2 Webutility package provides some useful tools for INIS KC server application:
3 * JWT authorization (uses ["github.com/dgrijalva/jwt-go"]()) 3 * JWT authorization (uses ["github.com/dgrijalva/jwt-go"]())
4 * HTTP responses 4 * HTTP responses
5 * Payload metadata framework 5 * Payload metadata framework
6 * Front-end UI configuration 6 * Front-end UI configuration
7 * RBAC 7 * RBAC
8 8
9 ### Build 9 ### Build
10 * go1.8 passing 10 * go1.8 passing
11 * go1.9 passing 11 * go1.9 passing
12 12
13 TODO: 13 `TODO`:
14 * http utility: 14 * http utility:
15 1. add parameters to the ProcessHeaders to enable/disable token/role-access-rights checks 15 1. add parameters to the ProcessHeaders to enable/disable token/role-access-rights checks
16 2. check for Content-Type header, if clients expects something other than JSON respond with appropriate HTTP code 16 2. check for Content-Type header, if clients expects something other than JSON respond with appropriate HTTP code
17 17