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
Forbid the methods PATCH and PUT for push repositories #127
Conversation
Required by pulp/pulp_container#127. [noissue]
|
Attached issue: https://pulp.plan.io/issues/7013 |
163e229
to
b687fcd
Compare
pulp_container/app/viewsets.py
Outdated
| @@ -401,9 +404,27 @@ class ContainerRepositoryVersionViewSet(RepositoryVersionViewSet): | |||
| parent_viewset = ContainerRepositoryViewSet | |||
|
|
|||
|
|
|||
| class ContainerPushRepositoryViewSet(RepositoryViewSet): | |||
| class NoUpdateRepositoryViewSet( | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an idea: How about ImmutableRepositoryViewSet?
Required by pulp/pulp_container#127. closes #7191
94db9a4
to
0eed716
Compare
Required by pulp/pulp_container#127. closes #7191
|
This PR will be converted back to a normal PR after the next release of pulpcore. Refer to pulp/pulpcore#795 to learn more. |
0eed716
to
030cf92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that turned into a nice and small one. ;)
I know, the hard work is just hidden in the other repository.
closes #7013