bolt
bolt copied to clipboard
User able to add items to singleton contenttype
Current behaviour:
If you create a singleton contenttype, a user is able to add more items to that contenttype with the 'Add ..." button on the dashboard page. See attached file.

Preferred behaviour: It should not be possible for a user to add items to a singleton contenttype (hence the 'single' in 'singleton')
Bolt Version 3.5.7
This issue has been automatically marked as stale because it has not had recent activity. Maybe this issue has been fixed in a recent release, or perhaps it is not affecting a lot of people? It will be closed if no further activity occurs, because we like to keep the issue queue concise and actual. If you think this issue is still relevant, please let us know. Especially if you’d like to help resolve the issue, either by helping us pinpointing the cause of a bug, or in implementing a fix or new feature.
Keep.
I noticed this to today. I just updated A Bolt website from 3.6.5 to 3.6.6. You can add a new singletons in 2 ways.
- Via dashboard as @peterboorsma mentioned.
- Via the green 'save as and create new' option.

This means that if you not set your setcontent inside your twig as returnsingle etc your website can break when an extra singleton is created.