You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
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
subsocialdev
changed the title
Make possible to check for a list of permissions with a single call of ensure_account_has_space_permission()
Check for UpdateOwn*** and UpdateAny*** permissions in update_space and update_post
Jul 3, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We need to check against a list of permissions at once in such dispatches as
update_***()
. For example forSpace
we need to checkUpdateOwnSubspaces
orUpdateAnySubspace
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#L286The text was updated successfully, but these errors were encountered: