dshoreman / servidor

A modern web application for managing servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guests must not be able to create Sites

dshoreman opened this issue · comments

According to tests/Feature/CreateSiteTest.php, guests can create sites. This is bad. VERY bad.

Test needs to be changed to GuestCanNotCreateSite with a separate test added to make sure it works for authed users (which can utilise the RequiresAuth trait added previously).

Naturally, the controller/routes will also need to be updated to fit this behaviour.