some work done but I did not find a fine commit message
Merge branch 'master' of https://github.com/argeset/set-meta
role check added in appservice