Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a middleware to verify the project exists during a request #680

Merged
merged 6 commits into from
Oct 25, 2022

Conversation

Nexucis
Copy link
Member

@Nexucis Nexucis commented Oct 24, 2022

I'm adding a new HTTP middleware that will check when a request to create a new resource that belongs to a project, that the project actually exists.

It's a way to factorize this verification across every resources that are part of a project.

Signed-off-by: Augustin Husson husson.augustin@gmail.com

@Nexucis Nexucis force-pushed the nexucis/project-middleware branch from 1267fd0 to 0cd533a Compare October 24, 2022 09:30
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
@Nexucis Nexucis force-pushed the nexucis/project-middleware branch from 0cd533a to f85a7a1 Compare October 24, 2022 09:33
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
@Nexucis Nexucis merged commit 035af3a into main Oct 25, 2022
@Nexucis Nexucis deleted the nexucis/project-middleware branch October 25, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants