joystream
joystream copied to clipboard
qn - channel agent permissions I
Fixes https://github.com/Joystream/joystream/issues/3866.
Brings QN part of changes to channel agent permissions done in https://github.com/Joystream/joystream/pull/3561. Related PRs that brought some pieces needed for this feature are https://github.com/Joystream/joystream/pull/4030 and https://github.com/Joystream/joystream/pull/3726 (updated events in QN, etc.).
In the current state, there is a missing Hydra/Warthog feature - array of enums - that is blocking this PR and is not yet overcome. Also, the code is not covered by integration tests yet.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
Name | Status | Preview | Updated |
---|---|---|---|
pioneer-testnet | ⬜️ Ignored (Inspect) | Aug 25, 2022 at 8:30AM (UTC) |
Due to limitations described in https://github.com/Joystream/hydra/issues/507, the schema has been rewritten, and there is a ChannelAgentPermissions
and CuratorAgentPermissions
for each permission granted (previously, all permissions granted to the member for a given channel/curatorGroup were represented in a single record).
It is also worth noting that some seemingly redundant data were introduced in the schema. For example, channel's collaborators
and collaboratorsPermissions
will have similar records (collaboratorsPermissions
will have some extra info). This is desired state and it will extend existing querying options without removing any.
In a perfect world, where all Hydra issues are solved, only collaboratorsPermissions
would be needed, but with current nested filtering limitations and other issues, it's better to have it this way.
Points from the previous review have all been addressed. One of the tests is failing due to some unrelated connection issue but succeeds when run locally.
Integration tests have been added. 1 test failed due to unrelated connection issues.
All remaining issues have been addressed.
The recent conflict with the carthage branch has been resolved. @mnaamani please merge this PR asap before another conflict arises.