// (principal, IPermission.PORTAL_FRAMEWORK, IPermission.CHANNEL_PUBLISHER_ACTIVITY, null);
String owner = IPermission.PORTAL_FRAMEWORK;
// retrieve the indicated channel from the channel registry store and
// determine its current lifecycle state
ChannelCategory category = this.channelRegistryStore.getChannelCategory(categoryId);
if (category == null){
// return doesPrincipalHavePermission(principal, owner,
// IPermission.CHANNEL_MANAGER_APPROVED_ACTIVITY, target);
throw new AuthorizationException("Unable to locate category " + categoryId);
}