---
title: "Discussion on \"How to create a revocable function to grant/revoke access to any other function?\" | Hashnode"
description: "Discussion on \"How to create a revocable function to grant/revoke access to any other function?\". The following code will show you how to create a function ‘revocable’ that will be used to grant/revoke access to other functions.\nThe function that will be tested here is the add function to add 2 numbers. But the ‘revocable’ function is good enough..."
url: "https://hashnode.com/posts/how-to-create-a-revocable-function-to-grant-revoke-access-to-any-other-function-b4063a79d921/6125c5d4663d427e19ffb775"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to create a revocable function to grant/revoke access to any other function?](https://blog.adarshkonchady.com/how-to-create-a-revocable-function-to-grant-revoke-access-to-any-other-function-b4063a79d921?utm_source=hashnode&utm_medium=feed)

The following code will show you how to create a function ‘revocable’ that will be used to grant/revoke access to other functions. The function that will be tested here is the add function to add 2 numbers. But the ‘revocable’ function is good enough...

Dec 20, 2015 · 1 min read · blog.adarshkonchady.com  
Read the article

## Written by

[Adarsh Konchady](https://hashnode.com/@adarshkonchady)

@adarshkonchady · Minnesota, US

  
[View profile](https://hashnode.com/@adarshkonchady)

Interested in all things Web !

As a Senior Principal Engineer at CVSHealth, I specialize in building and optimizing cvs.com to deliver a superior guest experience. Using the latest web technologies, my team and I work diligently to create a user-friendly and intuitive platform that exceeds expectations.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
