Skip to content

Commit

Permalink
Merge branch '@anchpop/typo' into 'master'
Browse files Browse the repository at this point in the history
docs(sns): Typo fix ManageVotingPermissions → ManageVotingPermission

 

See merge request dfinity-lab/public/ic!20344
  • Loading branch information
anchpop committed Jul 10, 2024
2 parents 6135fdc + 16dc659 commit 393a807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/sns/governance/src/governance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3954,7 +3954,7 @@ impl Governance {
/// Preconditions:
/// - the caller has the permission to change a neuron's access control
/// (permission `ManagePrincipals`), or the caller has the permission to
/// manage voting-related permissions (permission `ManageVotingPermissions`)
/// manage voting-related permissions (permission `ManageVotingPermission`)
/// and the permissions being added are voting-related.
/// - the permissions provided in the request are a subset of neuron_grantable_permissions
/// as defined in the nervous system parameters. To see what the current parameters are
Expand Down Expand Up @@ -4048,7 +4048,7 @@ impl Governance {
/// Preconditions:
/// - the caller has the permission to change a neuron's access control
/// (permission `ManagePrincipals`), or the caller has the permission to
/// manage voting-related permissions (permission `ManageVotingPermissions`)
/// manage voting-related permissions (permission `ManageVotingPermission`)
/// and the permissions being removed are voting-related.
/// - the PrincipalId exists within the neuron's permissions
/// - the PrincipalId's NeuronPermission contains the permission_types that are to be removed
Expand Down

0 comments on commit 393a807

Please sign in to comment.