foremancommunity-templatesforeman_api
Fixes #11579 - Reports show/destroy restricted by host authorization (CVE-2015-5233)
ReportsController 'show' and 'destroy' now perform a check to see ifthe User is authorized to see the Host associated with the Report. Incase it's not, it returns 404, as to not give hints whether a Report...
Fixes #11089 - Adapt tests to Rails 4
This commit contains all changes to tests in branchhttps://github.com/theforeman/foreman/pull/2055 that I found to beretrocompatible with Rails 3. The more of these we can get in, the lesscode we will have to review for Rails 4, and the more relevant it will...
Fixes #7096 - Adds STI to templates
This commit converts Ptables to be just another type of Template so itgets the same features as ConfigTemplate. ConfigTemplate was renamed toProvisioningTemplate to reflect UI and the name under it's commonly known.
Fixes #9678 - Can't update admin flag for users via API
find_resource needs to be defined prior to UsersMixin is included as itrequires the variable @user being set.
Refs #3809 - Remove various small cops
Refs #3809 - Remove cops for empty lines
Refs #3809 - Remove useless assignments
Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead
Refs #3809 - Use parentheses in method definitions
Refs #3809 - Remove rubocop TODOs
Removed the following TODOs so that cops for these will run from now on:
Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethodsEnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,UselessAccessModifier,...
View revisions
Also available in: Atom