ContentAPI api = new ContentAPI();
String tag = "tag_" + UUID.randomUUID();
helper.loginAsPortalAdmin();
User user = UserServiceFactory.getUserService().getCurrentUser();
APIResponse response = api.addNewTag(tag, user);
assertTrue(response.statusCode == Status.ERROR_INSUFFICIENT_PERMISSION);
helper.loginAsPortalReadOnly();
user = UserServiceFactory.getUserService().getCurrentUser();
response = api.addNewTag(tag, user);