Check for UpdateOwn*** and UpdateAny*** permissions in update_space and update_post
subsocialdev opened this issue · 0 comments
subsocialdev commented
We need to check against a list of permissions at once in such dispatches as update_***()
. For example for Space
we need to check UpdateOwnSubspaces
or UpdateAnySubspace
Also, add this check for multiple perms to update_post()
. See here https://github.com/dappforce/dappforce-subsocial-node/blob/master/pallets/posts/src/lib.rs#L286