Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Locking down schema in production mode #93

Closed
cheungpat opened this issue Jul 28, 2016 · 0 comments
Closed

Locking down schema in production mode #93

cheungpat opened this issue Jul 28, 2016 · 0 comments
Assignees
Milestone

Comments

@cheungpat
Copy link
Contributor

cheungpat commented Jul 28, 2016

In record:save, the schema is automatically extended when there is a new field. This issue should lock down the schema when in production mode (i.e. dev-mode = NO)

  • should not allow client to change schema when not in dev mode
  • the above rule is bypassed when the request is using the master key
cheungpat added a commit to cheungpat/skygear-server that referenced this issue Jul 28, 2016
Requests authenticated with master key can temporarily override
this restriction.

refs SkygearIO#93
@cheungpat cheungpat self-assigned this Jul 28, 2016
@royuen royuen added this to the 0.15 milestone Aug 1, 2016
cheungpat added a commit to cheungpat/skygear-server that referenced this issue Aug 1, 2016
Requests authenticated with master key can temporarily override
this restriction.

refs SkygearIO#93
cheungpat added a commit to cheungpat/skygear-server that referenced this issue Aug 1, 2016
Requests authenticated with master key can temporarily override
this restriction.

refs SkygearIO#93
cheungpat added a commit to cheungpat/skygear-server that referenced this issue Aug 1, 2016
Requests authenticated with master key can temporarily override
this restriction.

refs SkygearIO#93
cheungpat added a commit to cheungpat/skygear-doc that referenced this issue Aug 1, 2016
rickmak added a commit that referenced this issue Aug 1, 2016
bensonby pushed a commit to SkygearIO/skygear-doc that referenced this issue Aug 3, 2016
@royuen royuen closed this as completed Aug 17, 2016
@royuen royuen removed the In Review label Aug 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants