AgileVentures / WebsiteOne

A website for Agile Ventures
https://www.agileventures.org
Other
143 stars 248 forks source link

Add /admin route and page that only Admins can access. #3829

Open mattlindsey opened 1 year ago

mattlindsey commented 1 year ago

Add a special 'admin' interface that would allow authorized people to do maintenance on the app. For example deactivate/delete spam users and/or projects, load the static pages, 'pin' important projects to the top of the Projects page.

Options:

Feature: Admin page As an admin user So that I can perform admin tasks I want to be able to use the admin page

Scenario: Access admin page Given I have logged in as an admin When I am on the “Administration” page Then I should see “AV Administration” on the page

Scenario: Deny access to admin page Given I have logged in as a non-admin When I try to go to the “Administration” page Then I should see an error message

mattlindsey commented 1 year ago

Hi @edmilsonefs. Are you still working on this? If not, no problem.

edmilsonefs commented 1 year ago

Hi! I'm not, sorry. I will be focusing on another stack.