# Centralize \`always_allow\` logic when authorizing agent2 tools \(\#35988\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 365b5aa31d606f8ecac440de98a81f405f751d67

Requested commit: 365b5aa31d606f8ecac440de98a81f405f751d67

Commit: 365b5aa31d606f8ecac440de98a81f405f751d67

Tree: 3f356d7c6f1a90c0319ca8b202c00fc2f31ed6e5

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Centralize `always_allow` logic when authorizing agent2 tools (#35988)

Release Notes:

- N/A

---------

Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
```

## Parents

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

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