# feature_flags: Only respect feature flag overrides for Zed staff \(\#57860\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bf4e559347d6afe7a72fc424785ccad25b9aee96)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bf4e559347d6afe7a72fc424785ccad25b9aee96

Requested commit: bf4e559347d6afe7a72fc424785ccad25b9aee96

Commit: bf4e559347d6afe7a72fc424785ccad25b9aee96

Tree: f3b57fcb64bd48c9c7c05101c63cfa2165e7a33b

Author: Marshall Bowers

Committer: GitHub

## Message

```
feature_flags: Only respect feature flag overrides for Zed staff (#57860)

This PR is a follow-up to #54206 to make it so we only respect the
feature flag overrides for Zed staff (or when running a development
build).

Previously just the UI portion of the feature flags was disabled for
non-staff, but manipulating the settings file by hand would still allow
setting overrides that would be respected.

The only other setting on the "Developer" page of the settings UI was
the performance profiler. This was previously only available for staff,
as the entire "Developer" page was limited to staff, but it seems
reasonable to allow non-staff to see this.

Release Notes:

- N/A
```

## Parents

- [6472f018a68cda90e97f21f3ddc605828513e7ad](https://git.cafe/gitcafe/zed/commit/6472f018a68cda90e97f21f3ddc605828513e7ad?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bf4e559347d6afe7a72fc424785ccad25b9aee96?format=markdown)
