NaturalHistoryMuseum / scratchpads2

Scratchpads 2.0
http://scratchpads.org
GNU General Public License v2.0
199 stars 83 forks source link

Lock fields #4235

Closed informatics-dev closed 11 years ago

informatics-dev commented 11 years ago

Description:

Fields added to core content types and vocabularies (e.g. SPM/Biological Description or ITIS_TERM/Unit Name 1) should be locked so that users are unable to delete/rename/generally-them-mess-up.

informatics-dev commented 11 years ago

Comment by Simon Rycroft

A platform has been created to test this feature. The intended outcome is that none of the default fields provided by the Scratchpads (e.g. All Darwincore fields, ITIS taxonomy fields, etc) can not be edited or deleted. I have created a new site (http://3077.taxon.name/) for testing this, but it should also be tested with an existing site.

informatics-dev commented 11 years ago

Comment by Dimitrios Koureas

All DwC fields are locked along with primary fields in classification in http://3077.taxon.name/

Attempt to clone http://thymus.myspecies.info on quartz.nhm.ac.uk-web-silica.nhm.ac.uk_scratchpads-3077-field-lock for testing returned an error so I couldn't verify this on an existing site

informatics-dev commented 11 years ago

Comment by Simon Rycroft

The Thymus site has now been migrated.

informatics-dev commented 11 years ago

Comment by Dimitrios Koureas

tested on http://dev-fieldlock-thymus.taxon.name

I was able to delete the fields Unit name 1 and Rank from the taxonomy. However existing values are still displaying.

informatics-dev commented 11 years ago

Comment by Simon Rycroft

The update functions have been tweaked. I have deleted the clone you created, and started the process again.

informatics-dev commented 11 years ago

Comment by Simon Rycroft

The update has worked successfully, the code has been merged into the Master branch and will be released tomorrow.