Skip to content

Commit

Permalink
INSTANCE: UI: Add hint for non-staff members
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanrawlani28 committed Apr 27, 2024
1 parent 6b4a5f9 commit 37d60ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/scenes/instance/SystemStatus/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,14 @@ export function SystemStatus(): JSX.Element {
caption={
<>
Here you can find all the critical runtime details and settings of your PostHog instance.{' '}
{user?.is_staff && (
{user?.is_staff ? (
<>
You have access to modify these settings, because you're a <b>staff user</b>.{' '}
</>
) : (
<>
You can view these settings, but you need to be a <b>staff user</b> to modify them.{' '}
</>
)}
<Link
target="_blank"
Expand Down

0 comments on commit 37d60ad

Please sign in to comment.