class ReleasePermissions extends DocumentPermissions<Release> {

    @Override
    public boolean isActionAllowed(RequestedAction action) {
        if (action == RequestedAction.WRITE_ECC) {
            return PermissionUtils.isUserAtLeast(UserGroup.ECC_ADMIN, user);
        } else {
            return getStandardPermissions(action);
        }
    }

    protected  ReleasePermissions(Release document, User user);

}