<commit_before>package org.openur.module.service.security;



public interface IAuthorizationServices
{
  /**
   * checks if a person has a certain (app-based) permission within an organizational-unit.
   * Hint: Use this if work with permission-based, org-unit-related authorization.
   * 
   * @param personId
   * @param orgUnitId
   * @param permissionText
   * @param applicationName
   * 
   * @return the person has the permission within the given organizational-unit.
   */
  Boolean hasPermission(String personId, String orgUnitId, String permissionText, String applicationName);
  
  /**
   * checks if a person has a certain (app-based) permission.
   * Hint: use this if you work with permission-based, but NOT org-unit-related authorization.
   * 
   * @param personId
   * @param permissionText
   * @param applicationName
   * 
   * @return the person has the permission.
   */
  Boolean hasPermission(String personId, String permissionText, String applicationName);}<commit_msg>format source-code.<commit_after>package org.openur.module.service.security;

public interface IAuthorizationServices
{
	/**
	 * checks if a person has a certain (app-based) permission within an
	 * organizational-unit. Hint: Use this if work with permission-based,
	 * org-unit-related authorization.
	 * 
	 * @param personId
	 * @param orgUnitId
	 * @param permissionText
	 * @param applicationName
	 * 
	 * @return the person has the permission within the given organizational-unit.
	 */
	Boolean hasPermission(String personId, String orgUnitId, String permissionText, String applicationName);

	/**
	 * checks if a person has a certain (app-based) permission. Hint: use this if
	 * you work with permission-based, but NOT org-unit-related authorization.
	 * 
	 * @param personId
	 * @param permissionText
	 * @param applicationName
	 * 
	 * @return the person has the permission.
	 */
	Boolean hasPermission(String personId, String permissionText, String applicationName);
}
{'fraction_non_alphanumeric': 0.08367139959432049, 'fraction_numerical': 0.0, 'mean_word_length': 3.847665847665848, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '23954', 'n_tokens_mistral': 547, 'n_tokens_neox': 508, 'n_words': 186}