fixed permission check for publishing wms
Merge branch 'master' of github.com-state-hiu:state-hiu/geonode into preferences