Issue #6077
closedA wrong logical operator used in the method for validation of a signing script
Description
In the commit https://github.com/pulp/pulpcore/commit/b7829ee71113f7cd9d24866fc91bca7d1b590848, there was introduced an interface for a signing service.
When an administrator is trying to save a signing script to the database, Pulp performs additional checks whether the signing script is valid or not. On the line https://github.com/pulp/pulpcore/commit/b7829ee71113f7cd9d24866fc91bca7d1b590848#diff-5308662d441ee7c5774295277cba139cR433, however, there is an invalid logical operator used for validating a trust level. Instead of the 'and' operator, there should be used 'or'.
Updated by bmbouter almost 5 years ago
- Sprint set to Sprint 65
Adding to sprint since it's fixing a feature we just released.
Added by Lubos Mjachky almost 5 years ago
Updated by lmjachky almost 5 years ago
- Status changed from ASSIGNED to POST
Updated by Anonymous almost 5 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|fcdfa8d1673818f7d81aedefbe11617739bca78d.
Added by Lubos Mjachky almost 5 years ago
Revision 42a42e6b | View on GitHub
Fix an invalid logical operator
closes #6077 https://pulp.plan.io/issues/6077
(cherry picked from commit fcdfa8d1673818f7d81aedefbe11617739bca78d)
Updated by Anonymous almost 5 years ago
Applied in changeset pulpcore|42a42e6bc9596139ae1710be1db1a2f8dc41d470.
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Fix an invalid logical operator
closes #6077 https://pulp.plan.io/issues/6077