class OrganizationalUnitController {

    public boolean canDeleteOrgUnit(OrganizationalUnit organizationalUnit) {
        final boolean securityPermission = authorizationManager.authorize(organizationalUnit,
                                              OrganizationalUnitAction.DELETE,
                                              user);

        return securityPermission
                || userIsAtLeast(ContributorType.OWNER, organizationalUnit.getContributors());
    }

    @Inject public  OrganizationalUnitController(AuthorizationManager authorizationManager,
                                        User user);

}