Improvements on permissions. Now it's possible to control GRANT and
REVOKE via permission editing form. (issue #170)