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 sidebar rendering (for old-members) #806

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

DrumsnChocolate
Copy link
Contributor

Turns out this broke in #805 . Reproduced locally, the problem only occurs right after login, any refresh already worked around the issue.

@@ -5,7 +5,7 @@ export default class ProfileRoute extends AuthenticatedRoute {
@service router;

canAccess() {
return this.abilities.can('show individual users');
return this.abilities.can('show own users');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

changing this is not strictly necessary, but it makes sense semantically to change it here too

@DrumsnChocolate DrumsnChocolate added this pull request to the merge queue Sep 11, 2023
Merged via the queue into staging with commit d6160a1 Sep 11, 2023
3 checks passed
@DrumsnChocolate DrumsnChocolate deleted the fix/sidebar_rendering branch September 11, 2023 18:43
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.

2 participants