Skip to content

How-to

Make a tool always ask ​

This guide locks a tool, or one of its targets, so that no answer in a chat can keep an allow there. Use it for what should never run unseen, such as http_write or mail_send.

In the app ​

  1. Open Permissions and tap the tool, for example http_write. To lock one target only, choose it under the tool's targets first.
  2. Turn on Always ask. Its line reads No answer can remember an allow here.
The page of http_write: Chat set to Ask by you, Voice off by default, and Always ask turned on.The page of http_write: Chat set to Ask by you, Voice off by default, and Always ask turned on.

If the chat's cell was allow, it becomes ask. From now on the approval sheet offers Once only, and draws the other keys hatched with the reason.

From the terminal ​

sh
nocturn perms set chat http_write ask --lock --reload
nocturn perms set chat mail_send '*@home.example' ask --lock --reload   # one target

A lock sits on ask or off, never on allow.

What a lock does and does not do ​

Under a lock
A new answer in a chatcan allow once, never for a while or always
An allow an earlier answer leftstops counting
An allow you set yourself below the lockstill stands
Everything below the placeis locked too: every target of the tool, or every tool of a group
Agents, devices, voiceunchanged: they never keep an answer anyway

So if api.github.com was allowed by you on purpose, it keeps working under a locked http_write. Remove that pattern too if the tool should ask for every host.

Turn it off ​

Turn Always ask off on the same page, or clear the rule:

sh
nocturn perms clear chat http_write --reload

Clearing the rule also returns the chat's cell to the default.

nocturn is open source. Example hosts and people on these pages are made up.