Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Add Subsocial pallets: social, permissions, roles, etc #9

Merged
merged 140 commits into from
May 28, 2020

Conversation

subsocialdev
Copy link

No description provided.

F3Joule added 25 commits April 13, 2020 22:06
- Cut out writers from Blog structure
- Fix tests
- Update types.json
- Fix a bug: anyone can create post on blog
- Refactor `create_post` extrinsic
- Move some Module functions into Post/Blog impl
Due to this changes, some part of code was refactored to save principle of writing after all checks are done.
Due to this changes, the memory in structures will not be allocated until the first element is pushed
For `BlogOwnershipTransferCreated` event there was inline comments added, because of presence of two AccountId parameters.
Extend pallet-utils to be a full-fledged trait-based pallet.
Comment out tests until they are used.
Create `is_actor_has_permission` function header
Connect pallet-social to pallet-permissions
Was required by a pallet-social as a dependency
- Apply review fixes, refactor `does_user_has_space_permission)
WIP: add default roles permission constants
@subsocialdev subsocialdev added this to the M4 (current) milestone May 28, 2020
@subsocialdev subsocialdev merged commit 88f06ae into dappforce:develop May 28, 2020
@F3Joule F3Joule deleted the f3-pallet-permissions branch May 29, 2020 07:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants