-
Notifications
You must be signed in to change notification settings - Fork 9
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
Change Audit models ACLs on Flaw unembargo #857
base: master
Are you sure you want to change the base?
Change Audit models ACLs on Flaw unembargo #857
Conversation
82bf250
to
1cfd63a
Compare
db, model_name = ref.pgh_model.split(".") | ||
model_audit = apps.get_model(db, model_name).objects.filter( |
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.
There's no need to split the name, you can pass it directly
db, model_name = ref.pgh_model.split(".") | |
model_audit = apps.get_model(db, model_name).objects.filter( | |
model_audit = apps.get_model(ref.pgh_model).objects.filter( |
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.
I think this is going the right direction. I have some comments and a few of them seems to me important enough to address
|
||
```sh | ||
$ podman logs -f osidb-service | ||
``` |
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.
I am not strongly against this but I wonder whether documenting Podman is not beyond OSIDB documentation. There are certainly tons of potentially useful Podman commands but it has its own documentation. If it was some specific OSIDB procedure, it was non-intuitive, etc. then probably let us document it here.
Make linting corrections Update secrets Make more linting corrections
8672b33
to
1c3bc36
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.
LGTM now. Thank you for addressing my feedback!
Closes OSIDB-3463