title: API Manager Publisher Exception when publishing an API
body: <p>I followed the directions as prescribed in <a href="http://docs.wso2.org/display/AM160/User+Roles+in+the+API+Manager" rel="nofollow">http://docs.wso2.org/display/AM160/User+Roles+in+the+API+Manager</a>
  to setup the 'publisher' role.  Unfortunately when I log in as the publisher and try to set the state of the API to 'published' I get an exception where it appears that permissions are not set correctly.  It appears from the screenshots that the documentation is out of date as the screen shots do not match.</p>
  
  <p>What are the correct roles ?</p>
  
  <pre><code>Caused by: org.wso2.carbon.governance.api.exception.GovernanceException: Error in updating the artifact, artifact id: 75bbe8ef-c0d4-426e-be9b-703468026d9e.Resource update failed. User publisher is not authorized to update the resource /_system/governance/apimgt/applicationdata/provider/creator/ItemService/3.0/api..
      at org.wso2.carbon.governance.api.common.GovernanceArtifactManager.updateGovernanceArtifact(GovernanceArtifactManager.java:457)
      at org.wso2.carbon.governance.api.generic.GenericArtifactManager.updateGenericArtifact(GenericArtifactManager.java:181)
      at org.wso2.carbon.apimgt.impl.APIProviderImpl.updateApiArtifact(APIProviderImpl.java:556)
      ... 64 more
  Caused by: org.wso2.carbon.registry.core.secure.AuthorizationFailedException: Resource update failed. User publisher is not authorized to update the resource /_system/governance/apimgt/applicationdata/provider/creator/ItemService/3.0/api.
      at org.wso2.carbon.registry.core.jdbc.Repository.update(Repository.java:1084)
      at org.wso2.carbon.registry.core.jdbc.Repository.put(Repository.java:288)
      at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:709)
      at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:465)
      at org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:657)
      at org.wso2.carbon.governance.api.common.GovernanceArtifactManager.updateGovernanceArtifact(GovernanceArtifactManager.java:439)
      ... 66 more
  </code></pre>