acadsamplesdb / acad_samples

ACAD samples database
0 stars 0 forks source link

Only an Admin user should be able to delete a sample #42

Closed sgoodswen closed 8 years ago

sgoodswen commented 8 years ago

Currently, a normal user can delete a Sample if there are no children i.e. extractions, amplifications, and an Admin user can delete a sample with or without children. We would like to remove the [Delete me] button for a normal user when editing a sample. That is, only an Admin user can delete a sample whether it has children or not. A normal user can then only change field values when editing a sample but can’t delete it.

Li-ReDBox commented 8 years ago

A change has been made on dev and can be made to production any time if passed tests.

sgoodswen commented 8 years ago

This issue has been fixed and tested on dev and is ready for release to production

Li-ReDBox commented 8 years ago

Production site has been updated.

sgoodswen commented 8 years ago

This issue has been tested in production and can be closed