# Why there no AddHotKey and RemoveHotKey type in candid on the dashboard page

**URL:** <https://forum.dfinity.org/t/why-there-no-addhotkey-and-removehotkey-type-in-candid-on-the-dashboard-page/29880>\
**Category:** JavaScript\
**Created:** [April 21, 2024, 9:17am UTC](https://forum.dfinity.org/t/why-there-no-addhotkey-and-removehotkey-type-in-candid-on-the-dashboard-page/29880 "2024-04-21T09:17:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![honopu](https://avatars.discourse-cdn.com/v4/letter/h/ecccb3/32.png) [@honopu](https://forum.dfinity.org/u/honopu)\
**Post date:** [April 21, 2024, 9:17am UTC](https://forum.dfinity.org/t/why-there-no-addhotkey-and-removehotkey-type-in-candid-on-the-dashboard-page/29880/1 "2024-04-21T09:17:19Z")

</div>

> **[Canister: ICLighthouse DAO Governance](https://dashboard.internetcomputer.org/canister/hodlf-miaaa-aaaaq-aackq-cai)**
>
> Canister smart contract running on the Internet Computer blockchain.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/5/c/5cf323a0d18510183815a7f576059be3977497fc.png)

---

<div class="post-metadata">

**Author:** ![bjoern](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/bjoern/32/2100_2.png) [@bjoern](https://forum.dfinity.org/u/bjoern)\
**Post date:** [April 22, 2024, 7:00am UTC](https://forum.dfinity.org/t/why-there-no-addhotkey-and-removehotkey-type-in-candid-on-the-dashboard-page/29880/2 "2024-04-22T07:00:10Z")

</div>

What you’re looking is the `AddNeuronPermission` command. Permissions work differently on the SNS, permissions are more fine grained. The one you need is likely `NEURON_PERMISSION_TYPE_VOTE` from the [protobuf file](https://github.com/dfinity/ic/blob/bc70bfd1954df31400cada1444f4a448970b4f59/rs/sns/governance/proto/ic_sns_governance/pb/v1/governance.proto#L12).

---

<div class="post-metadata">

**Author:** ![honopu](https://avatars.discourse-cdn.com/v4/letter/h/ecccb3/32.png) [@honopu](https://forum.dfinity.org/u/honopu)\
**Post date:** [April 22, 2024, 7:32am UTC](https://forum.dfinity.org/t/why-there-no-addhotkey-and-removehotkey-type-in-candid-on-the-dashboard-page/29880/3 "2024-04-22T07:32:50Z")

</div>

I found that nns-dapp has `RemoveHotKey` and `AddHotKey` in `Operation` field from this [Github links](https://github.com/dfinity/nns-dapp/blob/d873d45738dd8033e0b2948228274f7da334ef56/declarations/nns_governance/nns_governance.did#L458). So there is any different from the candid in dashboard page?

---

<div class="post-metadata">

**Author:** ![bjoern](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/bjoern/32/2100_2.png) [@bjoern](https://forum.dfinity.org/u/bjoern)\
**Post date:** [April 22, 2024, 9:08am UTC](https://forum.dfinity.org/t/why-there-no-addhotkey-and-removehotkey-type-in-candid-on-the-dashboard-page/29880/4 "2024-04-22T09:08:47Z")

</div>

You are referring the the NNS governance canister, that one has `AddHotKey` and `RemoveHotKey`. The SNS governance canister has `AddNeuronPermission`.

---

<div class="post-metadata">

**Author:** ![honopu](https://avatars.discourse-cdn.com/v4/letter/h/ecccb3/32.png) [@honopu](https://forum.dfinity.org/u/honopu)\
**Post date:** [April 22, 2024, 12:52pm UTC](https://forum.dfinity.org/t/why-there-no-addhotkey-and-removehotkey-type-in-candid-on-the-dashboard-page/29880/5 "2024-04-22T12:52:15Z")

</div>

Ok, thanks for your help.
