don't let people delete the delete type

Bug #122137 reported by Aaron Swartz
2
Affects Status Importance Assigned to Milestone
Infogami
New
Undecided
Unassigned

Bug Description

Right now it's pretty easy to delete types like http://demo.openlibrary.org/type/delete since the page doesn't say anything and delete seems to work.

Revision history for this message
Aaron Swartz (aaronsw) wrote :

All the special types should have notes on their type pages explaining what they're for.

Revision history for this message
Anand Chitipothu (anandology) wrote : Re: [Bug 122137] Re: don't let people delete the delete type

I don't think, we can specify permission to not delete a page.
All we can do it let people not have permission to edit some
important types.

> All the special types should have notes on their type pages explaining
> what they're for.

Problem is that we consider all fields in type as schema.
If we define schema as a list of properties and each property is a
thing(name=field_name, value=type, allow_multiple=true/false), then
we can add additional fields in the type like description etc.
This will also solve the ordering problem in schema.
Property here will be something like compound value type seen in
freebase.
Form inputs for properties can be named as property#n.* and edit.POST
can take special care for handling it. All properties can be children
of the type they belong to.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.