permission/permissiontest: extract common permission testing code
permission/permissiontest: extract common permission testing code

ArxdSilva/tsuru,tsuru/tsuru,ArxdSilva/tsuru,cezarsa/tsuru,guilhermebr/tsuru,tsuru/tsuru,cezarsa/tsuru,guilhermebr/tsuru,ggarnier/tsuru,ArxdSilva/tsuru,ggarnier/tsuru,guilhermebr/tsuru,tsuru/tsuru,ggarnier/tsuru,tsuru/tsuru,guilhermebr/tsuru,cezarsa/tsuru,ggarnier/tsuru,ArxdSilva/tsuru,cezarsa/tsuru