<commit_before>package com.sequenceiq.freeipa.repository;

import java.util.Optional;

import javax.transaction.Transactional;

import org.springframework.data.repository.CrudRepository;

import com.sequenceiq.freeipa.entity.Stack;
import com.sequenceiq.freeipa.entity.UserSyncStatus;

@Transactional(Transactional.TxType.REQUIRED)
public interface UserSyncStatusRepository extends CrudRepository<UserSyncStatus, Long> {

    Optional<UserSyncStatus> getByStack(Stack stack);

    @Override
    @CheckPermission(action = ResourceAction.READ)
    <S extends UserSyncStatus> S save(S entity);
}<commit_msg>Revert "CDPCP-1549. Reconcile usersyncstatus permissions with operation permissions"<commit_after>package com.sequenceiq.freeipa.repository;

import java.util.Optional;

import javax.transaction.Transactional;

import org.springframework.data.repository.CrudRepository;

import com.sequenceiq.freeipa.entity.Stack;
import com.sequenceiq.freeipa.entity.UserSyncStatus;

@Transactional(Transactional.TxType.REQUIRED)
public interface UserSyncStatusRepository extends CrudRepository<UserSyncStatus, Long> {

    Optional<UserSyncStatus> getByStack(Stack stack);
}
{'fraction_non_alphanumeric': 0.08676975945017182, 'fraction_numerical': 0.003436426116838488, 'mean_word_length': 7.204225352112676, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '2773895', 'n_tokens_mistral': 329, 'n_tokens_neox': 330, 'n_words': 60}