-
Notifications
You must be signed in to change notification settings - Fork 120
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
feat: Require SCA for registration #3430
Conversation
m-horky
commented
Jul 15, 2024
- Card ID: CCT-612
7b731e6
to
2c73195
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.
Overall it is good idea. I have small request that is related to the case, when user is not member of any organization.
@jirihnidek The no-org state is already handled on higher levels. For both CLI and D-Bus, the CLI: subscription-manager/src/subscription_manager/cli_command/register.py Lines 347 to 349 in a01dabd
subscription-manager/src/subscription_manager/cli_command/register.py Lines 496 to 501 in a01dabd
D-Bus: subscription-manager/src/rhsmlib/dbus/objects/register.py Lines 203 to 207 in a01dabd
subscription-manager/src/rhsmlib/dbus/objects/register.py Lines 253 to 258 in a01dabd
|
It looks OK to me, but it would be to modify cockpit integration tests ... I can see that you already try to do it here: candlepin/subscription-manager-cockpit#70 but some tests are still failing... |
I've tried to fix the Cockpit tests, but it got to the limits of the timebox I set up for it, see downstream CCT-624 for details. |
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.
generally good, few things to change
2c73195
to
c81c445
Compare
f0bf032
to
409d401
Compare
* Card ID: CCT-612
409d401
to
7ee4459
Compare
Thank you for all the updates, now it LGTM. After all the cockpit tests were fixed/adapted, now this works for cockpit too :D @jirihnidek would you like to take a second look at it, after the latest changes? |
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