[sql] SQL permissions for roles