This page includes a brabbl discussion widget – but should be used to TEST ADDING A NEW DISCUSSION.
If no discussion is found in the Django backend with an externalID that matches the URL of this website, then the behavior should be as follows:
a) If you’re logged in as a user with „Admin“ permissions (= permissions group in django backend): the widget should render a button „Create discussion“.
Clicking that button should open the „discussion modal“ where you can add a new discussion and fill in discussion details. After saving the changes the modal should go away and the discussion should be visible. (Current bug: saving the modal does not work, so it’s not possible to add a new discussion!)
b) If you are not logged in or your user does not have „Admin“ permissions (= permissions group in django backend): the widget should render nothing at all.