## Description
Resolver types: those that when evaluated resolve to other objects/types
* Z2/Persistent object (special case)
* Z7/Function call
* Z9/Reference
* Z18/Argument reference
Disallowed root types: those that cannot be saved as the root ZObject (value of Z2K2 in a Z2/Persistent object), either because they strongly depend on their context or because they are generated on runtime.
* Z2/Persistent object
* Z3/Key
* Z9/Reference
* Z17/Argument declaration
* Z18/Argument reference
* Z39/Key reference
* Z5/Error
* Z16/Code
* Z21/Unit
**Steps to reproduce:**
* ZObject editor:
# Go to the page to create a new ZObject: https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateZObject
# In the "Select a Type" field under Content, try to choose any of the types from the Disallowed root type list
* ZFunction editor:
# Go to the page to create a new ZFunction: https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateZObject?view=function-editor
# In the Input type and Output type fields, try to choose any of the types from the Resolver type list
**Observed behavior:**
* All disallowed types except for Z2/Persistent object and Z7/Function call appear in the dropdown and can be selected
**Expected behavior (Acceptance criteria):**
* [ ] In the ZObject editor, **Content type field** should not allow creation of any object of a type from the "**Disallowed root types**" list.
* [ ] In the ZFunction editor, **Input and Output type fields** should not allow creation of any object of a type from the "**Resolver types**" list.
---
## Completion checklist
* [ ] Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist