Skip to content
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

Assert owner for actions #4

Open
wants to merge 4 commits into
base: mutable-whitelist
Choose a base branch
from
Open

Assert owner for actions #4

wants to merge 4 commits into from

Conversation

shanev
Copy link
Member

@shanev shanev commented Jun 6, 2023

No description provided.

@shanev shanev requested review from yubrew and tasiov June 6, 2023 15:34
ExecuteMsg::AddAddress { address } => execute_add_address(deps, address),
ExecuteMsg::RemoveAddress { address } => execute_remove_address(deps, address),
ExecuteMsg::AddAddress { address } => execute_add_address(deps, info, address),
ExecuteMsg::RemoveAddress { address } => execute_remove_address(deps, info, address),
ExecuteMsg::UpdateOwnership(action) => update_ownership(deps, env, info, action),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you need to assert_owner in update_ownership as well?

nit: could also retitle to execute_update_ownership

Base automatically changed from remove-package to mutable-whitelist June 18, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants