Ensure default tables/fields are private by default
This commit is contained in:
parent
2d5151c8ba
commit
378bbe6dae
1 changed files with 7 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue