package com.atlassian.bitbucket.repository.ref.restriction;

import com.atlassian.bitbucket.repository.MinimalRef;

import javax.annotation.Nonnull;

/**
 * Allows specifying which groups have access to a {@link MinimalRef} to which a given
 * {@link RefRestriction restriction} has been applied.
 */
public interface GroupAccessGrant extends AccessGrant {

    /**
     * @return the group granted access
     */
    @Nonnull
    String getGroup();
}
