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

Remove default roles for apps not integrating with RBAC Lite #17

Merged

Conversation

coderbydesign
Copy link
Contributor

In order to not make system and/or platform_default roles available or enforced
for applications not integrating with the GA rollout of RBAC, we need to remove
these roles from the seed files for the following apps:

  • ansible-automation
  • ansible-hub
  • catalog
  • remediations
  • sources
  • subscriptions

Other apps not needing default roles are:

  • inventory
  • approval
  • sources
  • cost-management

However at the time, we don't have default roles for those apps, so we don't need
to take any action.

There will be a PR added to the RBAC app repo
in order to actually remove these roles from existing tenant schemas.

This PR is to remove the roles from the seeds to prevent further creation of these
default roles.

In order to not make `system` and/or `platform_default` roles available or enforced
for applications not integrating with the GA rollout of RBAC, we need to remove
these roles from the seed files for the following apps:

- ansible-automation
- ansible-hub
- catalog
- remediations
- sources
- subscriptions

Other apps not needing default roles are:
- inventory
- approval
- sources
- cost-management

However at the time, we don't have default roles for those apps, so we don't need
to take any action.

There will be a PR added to the [RBAC app repo](https://github.com/RedHatInsights/insights-rbac/)
in order to actually remove these roles from existing tenant schemas.

This PR is to remove the roles from the seeds to prevent further creation of these
default roles.
coderbydesign added a commit to coderbydesign/insights-rbac that referenced this pull request Jan 29, 2020
In order to not make system and/or platform_default roles available or enforced
for applications not integrating with the GA rollout of RBAC, we need to remove
these roles from the seed files for the following apps:

- ansible-automation
- ansible-hub
- catalog
- remediations
- sources
- subscriptions

Other apps not needing default roles are:

- inventory
- approval
- sources
- cost-management

However at the time, we don't have default roles for those apps, so we don't need
to take any action.

A dependent PR has been added to the [RBAC config repo](RedHatInsights/rbac-config#17)
to remove these roles from the seed files. That will need to be merged and rolled
out before this PR can be merged.
@coderbydesign coderbydesign marked this pull request as ready for review January 30, 2020 16:21
@coderbydesign coderbydesign changed the title WIP: Remove default roles for apps not integrating with RBAC Lite Remove default roles for apps not integrating with RBAC Lite Jan 30, 2020
Copy link
Contributor

@wcmitchell wcmitchell left a comment

Choose a reason for hiding this comment

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

👍

@coderbydesign coderbydesign merged commit 199e1dc into RedHatInsights:master Jan 30, 2020
@coderbydesign coderbydesign deleted the remove-default-roles branch January 30, 2020 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants