-
Notifications
You must be signed in to change notification settings - Fork 367
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: Profile Query Keys, User Permissions loading state, and read_only PAT creation #10040
Changes from all commits
303a6b7
09636fe
9d82c8a
7f3e1a9
fc9514d
e8087f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ import { compose as recompose } from 'recompose'; | |
|
||
import { ActionsPanel } from 'src/components/ActionsPanel/ActionsPanel'; | ||
import { Box } from 'src/components/Box'; | ||
import { CircleProgress } from 'src/components/CircleProgress'; | ||
// import { Button } from 'src/components/Button/Button'; | ||
import { DocumentTitleSegment } from 'src/components/DocumentTitle'; | ||
import { Item } from 'src/components/EnhancedSelect/Select'; | ||
|
@@ -113,12 +114,13 @@ class UserPermissions extends React.Component<CombinedProps, State> { | |
} | ||
|
||
render() { | ||
const { loading } = this.state; | ||
const { username } = this.props; | ||
|
||
return ( | ||
<React.Fragment> | ||
<DocumentTitleSegment segment={`${username} - Permissions`} /> | ||
{this.renderBody()} | ||
{loading ? <CircleProgress /> : this.renderBody()} | ||
Comment on lines
+117
to
+123
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This addresses a regression in the User Permissions page introduced here where eliminating the loading state check is causing the User Permissions page for a restricted user to display as Full Account Access as enabled and true and then update to disabled and false once the data loads. |
||
</React.Fragment> | ||
); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a bug caused by the fact that we can't yet add
child_account
to the scopes until it is returned by API, so we have to add it in the drawers for now.