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.
Purpose - An admin's suggested resource will be published immediately upon submission.
How to check - Log in as and Admin user then click on suggestion. You should be able to see this :
Fill out the form and click Suggest. You should be able to publish a resource.
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
Log out and log in as a normal user. When you go to the suggestion page, it should be like this:
Fill out the form and click Suggest. You should be able to make a suggestion and see this :
You can log out and log in as an admin, and you should be able to see a draft waiting to be published.
[x] I have written a title that reflects the relevant ticket
[x] I have written a description that says what the PR does and how to validate it
[x] I have linked to the project board ticket (and any related PRs/issues) in the Links section
[x] I have added a link to this PR to the ticket
[x] I have made the PR to main from a branch named <category>/<name>, e.g. feature/edit-spaceships or bugfix/restore-oxygen
[x] I have manually tested that the app still works correctly
[x] I have requested reviewers here and in my team chat channel
[ ] I have spoken with my PM or TL about any parts of this task that may have become out-of-scope, or any additional improvements that I now realise may benefit my project
[x] I have added tests, or new tests were not required
[x] I have updated any documentation (e.g. diagrams, schemas), or documentation updates were not required
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.
Fill out the form and click Suggest. You should be able to publish a resource.
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
Log out and log in as a normal user. When you go to the suggestion page, it should be like this:
Fill out the form and click Suggest. You should be able to make a suggestion and see this :
You can log out and log in as an admin, and you should be able to see a draft waiting to be published.
Links
Link to the Backlog
Author checklist
main
from a branch named<category>/<name>
, e.g.feature/edit-spaceships
orbugfix/restore-oxygen