Skip to content

Conversation

illicitonion
Copy link
Member

There are times where if we can get extra information we want to show
it, but if not we want to show what information we have. For instance,
we currently have a staff view and a non-staff view of the "reviewers"
dashboard. This construction will allow us to just try to get the
staff-only information, and if it can be fetched, show it, and if not,
just not show it. We can collapse two views into one. The down side here
is if someone should have access to the staff view, they may not
notice that they're missing some extra data.

This PR has two commits - one adds the ignorable permissions error, and the other consumes it for reviewers staff-only information.

@illicitonion illicitonion requested a review from AnnaFYZ October 6, 2025 17:13
There are times where if we can get extra information we want to show
it, but if not we want to show what information we have. For instance,
we currently have a staff view and a non-staff view of the "reviewers"
dashboard. This construction will allow us to just try to get the
staff-only information, and if it can be fetched, show it, and if not,
just not show it. We can collapse two views into one. The down side here
is if someone _should_ have access to the staff view, they may not
notice that they're missing some extra data.
Rather than separate links
@illicitonion illicitonion force-pushed the ignorable-permissions branch from c99ee0c to 0080bb6 Compare October 6, 2025 20:37
@illicitonion illicitonion merged commit 3495b75 into main Oct 8, 2025
3 checks passed
@illicitonion illicitonion deleted the ignorable-permissions branch October 8, 2025 17:34
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