ogallagher / tejos_textiles

An online arts journal for publishing works in a new medium
MIT License
1 stars 0 forks source link

Add hidden field to puzzles table #48

Closed ogallagher closed 4 years ago

ogallagher commented 4 years ago

If I want to be able to test a new textile before making it public I should be able to see how it runs in the browser, which is easiest done by only loading a puzzle for the user if it’s not hidden, or if the user is an admin.

ogallagher commented 4 years ago

The field is not added to the puzzles table: puzzles.testing, which when set to 1 will only be visible to admins. Next is to implement the hiding/showing on the frontend.

ogallagher commented 4 years ago

Done.