Code Monkey home page Code Monkey logo

Comments (4)

john-light avatar john-light commented on August 23, 2024

Hi Mars, you can actually do this using the Permissions app. You can find the full documentation for the Permissions app here: https://wiki.aragon.org/tutorials/Aragon_User_Guide/#35-permissions

This specific Permission would be changed like so:

  1. Go to Permissions app

  2. Go to "Browse by app" section and click "View" on the Voting app

  3. Click "Add Permission" button -> "On app: Voting; Grant permission to: [insert your choice]; To perform action: Create new votes"

(If you want to restrict proposal creation to only Token Holders, "Grant permission to" should be set to "Token Manager" for your org)

  1. Vote to approve (not necessary for orgs with only one token holder because it will be approved automatically)

  2. Execute the vote (open the vote again after it ends and press the "Execute" button)

  3. Go to back to Voting in the Permissions app and go to the "Permissions set on this app" section

  4. Revoke "Action: Create Votes; Allowed for: Any account" and create the vote if necessary

  5. Vote to approve (again, not necessary for orgs with only one token holder)

  6. Execute the vote (open the vote again after it ends and press the "Execute" button)

Voila! Now votes can only be created by the entity(s) you specified.

from dao-templates.

marsrobertson avatar marsrobertson commented on August 23, 2024

Change defaults.

Process in reverse.

"only Token Holders" by default.

If open to the public, then change the setting in the permission app.

from dao-templates.

john-light avatar john-light commented on August 23, 2024

Ah change the default! Understood. Re-opening.

@sohkai this issue might need to be transferred to the DAO Kits repo, if you think that's the best place for it.

from dao-templates.

bingen avatar bingen commented on August 23, 2024

Fixed by #50

from dao-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.