-
Notifications
You must be signed in to change notification settings - Fork 268
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
Put the is_publised attribute in the AbstractBaseModel class #90
Conversation
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.
Please see the new DoD.
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 a few things before we can merge this:
- In object importers, just set
is_published
toTrue
since imported library objects are always published anywayis_published=self.security_function_data.get("is_published", True), - Add
is_published=True
toFrameworkImporter
,RequirementNodeImporter
andRiskMatrixImporter
in import functions
set the value at creation instead.
we don't squash anymore
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 LGTM. I have desquashed the migrations, and avoid useless overriding of field in library.
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.
LGTM
No description provided.