Get the stories based in the associated project
cleicar opened this issue · 0 comments
cleicar commented
Branch/Commit:
main
Expected behavior:
We should allow to see the story details only for the project that they are associated with.
Actual behavior:
Right now a story is visible when accessing for any project. If I go to any project's url and add any story id to it, the story details is accessible. This is because we are not considering the project ID when searching for the story details. We are only doing Story.find("")
instead of project.stories.find
Steps to reproduce:
- Go to any project and copy any story ID
- Go to another project and click to see any story details
- Paste the story ID that you copied to the URL replacing the story ID
- See that you can see the story details
I will abide by the code of conduct