Ensure default tables/fields are private by default

This commit is contained in:
Tobie Morgan Hitchcock 2017-03-02 10:55:42 +00:00
parent 2d5151c8ba
commit 378bbe6dae

View file

@ -16,7 +16,13 @@ package sql
func (p *parser) parsePerms() (exp *PermExpression, err error) { func (p *parser) parsePerms() (exp *PermExpression, err error) {
exp = &PermExpression{} exp = &PermExpression{
Select: false,
Create: false,
Update: false,
Delete: false,
Relate: false,
}
tok, _, err := p.shouldBe(FOR, NONE, FULL, WHERE) tok, _, err := p.shouldBe(FOR, NONE, FULL, WHERE)
if err != nil { if err != nil {