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

test: rbac config [TESTENG-108] #10032

Merged
merged 5 commits into from
Oct 28, 2024
Merged

test: rbac config [TESTENG-108] #10032

merged 5 commits into from
Oct 28, 2024

Conversation

JComins000
Copy link
Contributor

@JComins000 JComins000 commented Oct 9, 2024

Ticket

TESTENG-108

Description

adds rbac devcluster config and uses it in e2e-react-ee

Test Plan

Checklist

  • Changes have been manually QA'd
  • New features have been approved by the corresponding PM
  • User-facing API changes have the "User-facing API Change" label
  • Release notes have been added as a separate file under docs/release-notes/
    See Release Note for details.
  • Licenses have been included for new code which was copied and/or modified from any external code

Copy link

netlify bot commented Oct 9, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 569997e
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/671b9e575001fe0008efb8ae
😎 Deploy Preview https://deploy-preview-10032--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@JComins000 JComins000 force-pushed the jcom/TESTENG-108/rbac-config branch from 2df5e3f to bef7c3c Compare October 9, 2024 18:15
security:
initial_user_password: $INITIAL_USER_PASSWORD
authz:
rbac_ui_enabled: true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

👁️ 👁️

Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.47%. Comparing base (22ad457) to head (569997e).
Report is 38 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10032      +/-   ##
==========================================
- Coverage   54.49%   54.47%   -0.03%     
==========================================
  Files        1267     1267              
  Lines      159437   159437              
  Branches     3637     3637              
==========================================
- Hits        86885    86849      -36     
- Misses      72419    72455      +36     
  Partials      133      133              
Flag Coverage Δ
backend 45.66% <ø> (-0.07%) ⬇️
harness 72.55% <ø> (ø)
web 54.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 8 files with indirect coverage changes

@johnkim-det
Copy link
Contributor

looks like there are quite a few tests that fail with rbacEnabled: true, even though we don't have any tests explicitly requiring RBAC yet -- maybe the admin user needs to have ClusterAdmin role added when rbacEnbaled: true?

@JComins000 JComins000 force-pushed the jcom/TESTENG-108/rbac-config branch from b8bf99d to aeec193 Compare October 10, 2024 17:10
@JComins000 JComins000 force-pushed the jcom/TESTENG-108/rbac-config branch from aeec193 to fa6c2c1 Compare October 10, 2024 18:03
@JComins000 JComins000 requested a review from a team as a code owner October 10, 2024 20:23
Copy link
Contributor

@amandavialva01 amandavialva01 left a comment

Choose a reason for hiding this comment

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

backend changes LGTM!

@JComins000 JComins000 marked this pull request as draft October 15, 2024 20:37
@johnkim-det johnkim-det force-pushed the jcom/TESTENG-108/rbac-config branch from 9419b27 to 8cbd13f Compare October 24, 2024 18:14
@johnkim-det johnkim-det force-pushed the jcom/TESTENG-108/rbac-config branch from 8cbd13f to 569997e Compare October 25, 2024 13:34
@johnkim-det
Copy link
Contributor

@JComins000 went ahead and added fixes for test failures. Hopefully we can move forward with the PR if that looks good.

@JComins000 JComins000 marked this pull request as ready for review October 28, 2024 16:33
@JComins000 JComins000 merged commit d901a2a into main Oct 28, 2024
82 of 94 checks passed
@JComins000 JComins000 deleted the jcom/TESTENG-108/rbac-config branch October 28, 2024 16:46
thiagodallacqua-hpe pushed a commit that referenced this pull request Oct 28, 2024
thiagodallacqua-hpe pushed a commit that referenced this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants