Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 159 additions & 0 deletions .ibm/pipelines/value_files/values_showcase-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,165 @@ global:
frontend:
red-hat-developer-hub.backstage-plugin-orchestrator-form-widgets: {}

- package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-dynamic-home-page
disabled: false
pluginConfig:
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
dynamicRoutes:
- path: /
importName: DynamicHomePage
mountPoints:
- mountPoint: application/listener
importName: VisitListener
- mountPoint: home.page/cards
importName: OnboardingSection
config:
id: rhdh-onboarding-section
title: Red Hat Developer Hub - Onboarding
cardLayout:
width:
minColumns: 4
maxColumns: 12
defaultColumns: 12
height:
minRows: 2
maxRows: 12
defaultRows: 4
layouts:
xl:
w: 12
h: 6
lg:
w: 12
h: 6
md:
w: 12
h: 7
sm:
w: 12
h: 8
xs:
w: 12
h: 9
xxs:
w: 12
h: 14
- mountPoint: home.page/cards
importName: EntitySection
config:
id: rhdh-entity-section
title: Red Hat Developer Hub - Software Catalog
cardLayout:
width:
minColumns: 4
maxColumns: 12
defaultColumns: 12
height:
minRows: 2
maxRows: 12
defaultRows: 4
layouts:
xl:
w: 12
h: 7
lg:
w: 12
h: 7
md:
w: 12
h: 8
sm:
w: 12
h: 9
xs:
w: 12
h: 11
xxs:
w: 12
h: 15
- mountPoint: home.page/cards
importName: TemplateSection
config:
id: rhdh-template-section
title: Red Hat Developer Hub - Explore templates
cardLayout:
width:
minColumns: 4
maxColumns: 12
defaultColumns: 12
height:
minRows: 2
maxRows: 12
defaultRows: 4
layouts:
xl:
w: 12
h: 5
lg:
w: 12
h: 5
md:
w: 12
h: 5
sm:
w: 12
h: 5
xs:
w: 12
h: 7.5
xxs:
w: 12
h: 13.5
- mountPoint: home.page/cards
importName: QuickAccessCard
config:
id: quickaccess-card
title: Quick Access Card
- mountPoint: home.page/cards
importName: SearchBar
config:
id: searchbar
title: Search
cardLayout:
width:
minColumns: 4
maxColumns: 12
defaultColumns: 12
height:
minRows: 1
maxRows: 2
defaultRows: 2
- mountPoint: home.page/cards
importName: CatalogStarredEntitiesCard
config:
id: catalog-starred-entities-card
title: Starred catalog entities
- mountPoint: home.page/cards
importName: RecentlyVisitedCard
config:
id: recently-visited-card
title: Recently visited
- mountPoint: home.page/cards
importName: TopVisitedCard
config:
id: top-visited-card
title: Top visited
- mountPoint: home.page/cards
importName: FeaturedDocsCard
config:
id: featured-docs-card
title: Featured docs
- mountPoint: home.page/cards
importName: JokeCard
config:
id: joke-card
title: Random joke
translationResources:
- importName: homepageTranslations
ref: homepageTranslationRef

# -- Upstream Backstage [chart configuration](https://github.com/backstage/charts/blob/main/charts/backstage/values.yaml)
# @default -- Use Openshift compatible settings
upstream:
Expand Down
9 changes: 3 additions & 6 deletions e2e-tests/playwright/e2e/plugins/rbac/rbac.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,7 @@ test.describe("Test RBAC", () => {
await uiHelper.clickLink("RBAC");
});

//FIXME RHDHBUGS-2483
test.skip("Create and edit a role from the roles list page", async ({
test("Create and edit a role from the roles list page", async ({
page,
}) => {
const uiHelper = new UIhelper(page);
Expand Down Expand Up @@ -403,8 +402,7 @@ test.describe("Test RBAC", () => {
await rbacPo.deleteRole("role:default/test-role");
});

//FIXME https://issues.redhat.com/browse/RHDHBUGS-2483
test.skip("Edit users and groups and update policies of a role from the overview page", async ({
test("Edit users and groups and update policies of a role from the overview page", async ({
page,
}) => {
const uiHelper = new UIhelper(page);
Expand Down Expand Up @@ -749,8 +747,7 @@ test.describe("Test RBAC", () => {
await uiHelper.verifyHeading("All roles (1)");
});

//FIXME https://issues.redhat.com/browse/RHDHBUGS-2483
test.skip("Test that user with `IsOwner` condition can access the RBAC page, create a role, edit a role, and delete the role", async ({
test("Test that user with `IsOwner` condition can access the RBAC page, create a role, edit a role, and delete the role", async ({
page,
}) => {
const common = new Common(page);
Expand Down
Loading