Closed mkanoor closed 4 years ago
**
lib/insights/api/common/rbac/seed.rb
begin
block detected.@eclarizio @syncrou Please review
@gmcculloug @syncrou Since this PR removes Policy objects we could delay this PR and create a new PR that uses add_roles_to_group only during seeding. Since we would be using local AccessControlEntries (ACE) we don't need to be adding the sharing roles into the group anymore. This will allow us to stay backward compatibility and have the new sharing implemented locally. If we agree I can pull out the pieces from this PR that uses the new add_roles_to_group for the seeding process.
Closed in favor of https://github.com/RedHatInsights/insights-api-common-rails/pull/138 which has the seeding pieces
https://projects.engineering.redhat.com/browse/SSP-963 Depends on https://github.com/RedHatInsights/insights-rbac-api-client-ruby/pull/4 Based on https://github.com/RedHatInsights/insights-rbac/pull/156
Instead of adding roles to group via Policies now we can directly add role to a group or delete a role from a group