Mokhtar Naamani
|
be118a6d6d
make ActorId configurable on membership Trait
|
5 years ago |
Mokhtar Naamani
|
aae25db7a3
fix runtime version
|
5 years ago |
Mokhtar Naamani
|
d91d08c001
share same Role type between membership and actors module
|
5 years ago |
Mokhtar Naamani
|
5153e8e6c0
some comments around member Profile fields
|
5 years ago |
Mokhtar Naamani
|
5e67f4df5c
membership: added key_can_sign_for_role
|
5 years ago |
Mokhtar Naamani
|
f8feb8c86b
BTreeSet for roles eliminted need for RoleId type
|
5 years ago |
Mokhtar Naamani
|
52a21c1f0d
cleanup code around role registration
|
5 years ago |
Mokhtar Naamani
|
94c09662fa
do not remove ActorInRole from map for history
|
5 years ago |
Mokhtar Naamani
|
7476f93758
refactor key management
|
5 years ago |
Mokhtar Naamani
|
6e705b20a7
factor out roles types into module role_type and use BTreeSet instead of BTreeMap
|
5 years ago |
Mokhtar Naamani
|
3cf52da08d
drop FirstMemberId and NextMemberId, use zero as first id and have MembersCreated instead
|
5 years ago |
Mokhtar Naamani
|
6da6069a7b
build dummy wasm_binary.rs in IDE
|
5 years ago |
Mokhtar Naamani
|
f4208223d1
Merge branch 'development' into substrate-v2-add-roles-to-membership
|
5 years ago |
Bedeho Mender
|
8414869a87
Merge pull request #80 from mnaamani/substrate-v2
|
5 years ago |
Mokhtar Naamani
|
8ff2a4fa72
membership: revert to using an enum for Role, safer
|
5 years ago |
Mokhtar Naamani
|
e3cfaa5abd
membership: tests role registration
|
5 years ago |
Mokhtar Naamani
|
2ded8fd19c
missing prelude::* import for Vec
|
5 years ago |
Mokhtar Naamani
|
9414ca79a7
travis: build target same as test
|
5 years ago |
Mokhtar Naamani
|
4e82db86ce
membership: tests initial balance for genesis members
|
5 years ago |
Mokhtar Naamani
|
d7b6832c3b
membership: tests set_primary_key
|
5 years ago |
Mokhtar Naamani
|
6500bf74a3
membership: tests set_controller_key
|
5 years ago |
Mokhtar Naamani
|
817836b466
membership: tests for exact error message
|
5 years ago |
Mokhtar Naamani
|
d95c482e31
membership: tests: initial members at genesis
|
5 years ago |
Mokhtar Naamani
|
6d059cfff4
membership: role helper methods pass in controller key instead of member_id
|
5 years ago |
Mokhtar Naamani
|
28c270f828
membership: cleanup helper methods
|
5 years ago |
Mokhtar Naamani
|
e125efde70
membership: remove id property on PaidMembershipTerms, add Genesis enum for EntryMethod
|
5 years ago |
Mokhtar Naamani
|
7647a83890
membership: remove id property on Profile
|
5 years ago |
Mokhtar Naamani
|
2ee1fc73cc
membership: make controller accounts bindable only to one member
|
5 years ago |
Mokhtar Naamani
|
cc908554af
membership: role registration policy
|
5 years ago |
Mokhtar Naamani
|
686cee9747
membership: policy only one instance of role per member
|
5 years ago |