RedHatInsights / insights-api-common-rails

Header, Encryption, RBAC, Serialization, Pagination and other common behavior for Insights microservices built with Rails
Apache License 2.0
3 stars 25 forks source link

Use add_role_to_group during seeding #138

Closed mkanoor closed 4 years ago

mkanoor commented 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

miq-bot commented 4 years ago

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