# extension_host: Refactor capability checks \(\#35139\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d7b403e98160def8393fd7a80ff3076fde9b2a4d

Requested commit: d7b403e98160def8393fd7a80ff3076fde9b2a4d

Commit: d7b403e98160def8393fd7a80ff3076fde9b2a4d

Tree: 9b4ed77dab66cea48df9e4ab94b43bc6b81b14b6

Author: Marshall Bowers

Committer: GitHub

## Message

```
extension_host: Refactor capability checks (#35139)

This PR refactors the extension capability checks to be centralized in
the `CapabilityGranter`.

Release Notes:

- N/A
```

## Parents

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

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