Add permission check to command handler

Signed-off-by: Ian Macalinao <ian@giza.us>