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

fix: authorization bug for job-client-status-summary #11780

Merged
merged 37 commits into from
Jan 26, 2022

Conversation

ChaiWithJai
Copy link
Contributor

This PR handles an unexpected authorization failure when in a system or sysbatch page without node:read permissions.

This PR closes 11660.
This PR handles the concerns of 11672.

@github-actions
Copy link

github-actions bot commented Jan 5, 2022

Ember Asset Size action

As of 8d8fe0b

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +1.21 kB +173 B

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
nomad-ui.css 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented Jan 5, 2022

Ember Test Audit comparison

main 8d8fe0b change
passes 1259 1260 +1
failures 0 0 0
flaky 0 0 0
duration 11m 46s 912ms 9m 35s 812ms -2m 11s 100ms

ChaiWithJai and others added 25 commits January 24, 2022 10:58
There was previously a bug with sourceMaps that slowed down the build.
This issue has been resolved by Ember and now we can expect the default
behavior of sourceMaps being enabled in dev and disabled in prod.
Previously, the router service was not available to components. Now that it is,
we no longer need to prop-drill this linking action.
Copy link
Contributor

@LevelbossMike LevelbossMike left a comment

Choose a reason for hiding this comment

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

Great work 👏 - I have one small comment

@@ -217,3 +227,13 @@ module('Acceptance | job clients', function (hooks) {
// TODO: add facet tests for actual list filtering
}
});

function setPolicy(policy) {
Copy link
Contributor

@LevelbossMike LevelbossMike Jan 26, 2022

Choose a reason for hiding this comment

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

We are repeating ourselves here, ui/tests/helpers/module-for-job.js and ui/tests/acceptance/job-clients-test.js are both defining this function - we should extract that into a test-utility.

Copy link
Contributor

@LevelbossMike LevelbossMike left a comment

Choose a reason for hiding this comment

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

🎉

@ChaiWithJai ChaiWithJai merged commit 94e55fc into main Jan 26, 2022
@ChaiWithJai ChaiWithJai deleted the f-ui/job-page-refactor branch January 26, 2022 18:00
@github-actions
Copy link

github-actions bot commented Nov 1, 2022

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot read a job in Nomad UI with ACL
3 participants