CUCentralAdvancement / cms

The Central Advancement Content Management System
MIT License
0 stars 0 forks source link

Add delete screen and route for spaces #28

Closed alexfinnarn closed 3 years ago

alexfinnarn commented 3 years ago

You can add and edit spaces from the UI, but you can't delete them yet. Ideally, adding and deleting spaces will only be allowed in development. Strapi CMS has the same concept. You can use the UI for more rapid development of the content types, but editing the config is turned off in production.

Similarly, I think you should only be able to edit the space members and a few other fields in production vs. being able to totally create and delete them. This can be done via env vars, process.env === 'production'.

Acceptance Criteria