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

Hide unauthorized ui #220

Merged
merged 3 commits into from
May 9, 2018
Merged

Hide unauthorized ui #220

merged 3 commits into from
May 9, 2018

Conversation

osteele
Copy link
Contributor

@osteele osteele commented May 9, 2018

Description

Start #217, #179.

Remaining work depends on olin-build/ABE#214. This work is to retrieve the account info from GET /account instead of initializing it to a constant that grants all permissions; to extend withServerInfo (currently in PR #219) to verify that the account has been loaded; and to guard the Sidebar by withServerInfo.

Required

Changes must conform to these requirements:

  • yarn test passes. All new and existing tests pass.
  • yarn lint passes. All new code follows the code style of this project.

Aspirational

We don't yet require these, but they are nice to have:

  • New code is covered by new or existing tests.
  • Changed code is covered by new or existing tests.

osteele added 3 commits May 8, 2018 20:22
The formatter works better with this.
Start #217, #179.

Remaining work depends on olin-build/ABE#214. This work is to retrieve the account info from GET /account instead of initializing it to a constant that grants all permissions; to extend withServerInfo (currently in PR #219) to verify that the account has been loaded; and to guard the Sidebar by withServerInfo.
@osteele osteele force-pushed the osteele/hide-unauthorized-ui branch from f1961e6 to 7079d40 Compare May 9, 2018 00:22
@osteele osteele requested a review from kylecombes May 9, 2018 00:23
@osteele osteele merged commit f71cd53 into dev May 9, 2018
@osteele osteele deleted the osteele/hide-unauthorized-ui branch May 9, 2018 12:29
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.

1 participant