-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[r/boards] initialize AdminDAO #3345
Comments
Initial work includes the following:
|
We are switching efforts to have an MVP by focusing in a default permissions implementation that doesn't use proposals for its functionality. Once the MVP is finished and once the voting mechanics are defined we will resume the work started in feat/admindao-proposals branch. |
[08-01-2025]:
|
It should not be prefixed as "boards." Commondao is not a subset of boards; rather, it is a dependency shared with other elements. cc @Kouteki |
@moul I suggest we keep this issue focused on the original AdminDAO criteria for MVP, then extract it into its own realm under the “CommonDAO” model. There is already some AdminDAO logic in the boards realm; currently, it doesn’t contain any board-specific code—it only manages members, permissions, and minimal proposals/voting. Since we plan to refactor the boards realm anyway, we can see the implementation through and begin testing boards. Meanwhile, we’ll work on a complete definition of the CommonDAO. |
If this works, we'll open a separate issue for the CommonDAO initiative (not prefixed as "[r/boards]"). |
Context:
The AdminDAO is a crucial component of boards, responsible for managing high-level configurations and permissions. It serves as the primary administrative entity for the entire boards realm, separate from individual board management. The AdminDAO needs to be initialized with appropriate permissions and functionalities to oversee the boards realm effectively.
Eventually, AdminDAO will turn into a general DAO that is leveraged or consumed by other (d)Apps, dubbed "CommonDAO".
Acceptance Criteria:
Implements an AdminDAO struct with necessary fields:
Example
An
InitializeAdminDAO
function sets up the initial state:Example
Functions for the AdminDAO to manage global boards realm settings:
Ensures the AdminDAO can set and update the callback function for board name validation:
Example
Includes a function for the AdminDAO to freeze a board in case of policy violations:
Example
Includes a function for the AdminDAO to set realm-wide notifications:
Example
Ensures the AdminDAO can manage the upgrade process for the boards realm:
Implements a mechanism to handle name change lookups:
Example
Unit tests to verify the functionality of the AdminDAO
Notes:
The text was updated successfully, but these errors were encountered: