Closed mkanoor closed 4 years ago
This PR contains just the seeding portion of this PR https://github.com/RedHatInsights/insights-api-common-rails/pull/137 which has been closed. Instead of adding roles to group via Policies now we can directly add role to a group
Checked commit https://github.com/mkanoor/manageiq-api-common/commit/8be5af4324f6f8e20847312ac3763cb6bb8a0e07 with ruby 2.5.5, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 5 files checked, 2 offenses detected
**
lib/insights/api/common/rbac/seed.rb
begin
This PR contains just the seeding portion of this PR https://github.com/RedHatInsights/insights-api-common-rails/pull/137 which has been closed. Instead of adding roles to group via Policies now we can directly add role to a group