NucleiStudio / governance-os

DAO as a service parachain for Polkadot. Built with Parity Substrate. Supports various pluggable voting systems.
Apache License 2.0
13 stars 5 forks source link

refactor bylaws #17

Closed ETeissonniere closed 4 years ago

ETeissonniere commented 4 years ago

This PR introduces a refactoring of the bylaws pallet. It drastically simplifies the access control system by adopting a more UNIX like structure where calls are mapped to roles that a given account need to be granted.

This should considerably lower the computational and storage cost of using the module as well since we can simplify the amount of data being stored and reduce the complexity of the associated operations.