<commit_before><% 
	org.opencms.ade.upload.CmsUploadBean upload = new org.opencms.ade.upload.CmsUploadBean(pageContext, request, response);
	upload.setUploadDelay(0);
	out.write(upload.start());
%><commit_msg>Added role check to upload helper JSP.<commit_after><% 
	org.opencms.ade.upload.CmsUploadBean upload = new org.opencms.ade.upload.CmsUploadBean(pageContext, request, response);
	org.opencms.main.OpenCms.getRoleManager().checkRole(upload.getCmsObject(), org.opencms.security.CmsRole.EDITOR);
	upload.setUploadDelay(0);
	out.write(upload.start());
%>
{'fraction_non_alphanumeric': 0.1490125673249551, 'fraction_numerical': 0.003590664272890485, 'mean_word_length': 6.859154929577465, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '681807', 'n_tokens_mistral': 197, 'n_tokens_neox': 195, 'n_words': 26}