Skip to content
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

Refs #28538 - Drop smart_variable left overs #7511

Closed

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Mar 12, 2020

No description provided.

@theforeman-bot
Copy link
Member

Issues: #28538

@ekohl
Copy link
Member Author

ekohl commented Mar 12, 2020

@tbrisker this refs an already closed issue. Do we want to cherry pick this into 2.0 or should I open a new one?

id = if smart_variable_id?
params.key?('smart_variable_id') ? params['smart_variable_id'] : params['id']
else
params.key?('smart_class_parameter_id') ? params['smart_variable_id'] : params['id']
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this previously appeared to have a bug. Note the mismatch.

Copy link
Member

@tbrisker tbrisker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous pr was a continuation of the permission cleanup.
The full cleanup effort is being done in steps on purpose and tracked under https://projects.theforeman.org/issues/28278, to make it easier to review in parts finish rather than one giant PR removing everything.

@tbrisker
Copy link
Member

Closing for now, this whole concern will be refactored/dropped in https://projects.theforeman.org/issues/28596.

@tbrisker tbrisker closed this Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants