CodeYourFuture / tech-products-demo

Example app for tech products interview experiment
https://tech-products-demo-d1182e30f280.herokuapp.com/
ISC License
3 stars 20 forks source link

Feature/automatic admins publication #45

Closed Ikamrava closed 2 months ago

Ikamrava commented 4 months ago

This is a:

Description

Currently, if an admin user wants to publish a new resource they have to suggest it on the /suggest page and then publish it on the /drafts page. Given that they have sufficient permissions to publish the resource, it would be more efficient if their resource was published as soon as they suggest it.

1

Fill out the form and click Suggest. You should be able to publish a resource.

2

You can make sure by going back to the home page and seeing your resource and you should not see your suggestion on the draft page

3

Log out and log in as a normal user. When you go to the suggestion page, it should be like this:

4

Fill out the form and click Suggest. You should be able to make a suggestion and see this :

5

You can log out and log in as an admin, and you should be able to see a draft waiting to be published.

6

Links

Link to the Backlog

Author checklist

github-actions[bot] commented 2 months ago

🍞 Closing as stale (more than one month without updates)