Removes {@link Permission}s for the specified {@code member} from the specified {@code repoName}
in the specified {@code projectName}.
966686
public CompletableFuture<Revision> removePerUserPermission(Author author, String projectName,
                                                               String repoName, User member) {
        requireNonNull(author, "author");
        requireNonNull(projectName, "projectName");
        requireNonNull(repoName, "repoName");
        requireNonNull(member, "member");

        final String memberId = member.id();
        return removePermissionAtPointer(author, projectName,
                                         perUserPermissionPointer(repoName, memberId),
                                         "Remove permission of the '" + memberId +
                                         "' from the project " + projectName);
    }
52169
private void clearMemberData()
   {
      m_reader = null;
      m_eventManager = null;
      m_file = null;
      m_root = null;
      m_resourceMap = null;
      m_projectDir = null;
      m_viewDir = null;
      m_outlineCodeVarData = null;
      m_outlineCodeVarMeta = null;
      m_projectProps = null;
      m_fontBases = null;
      m_taskSubProjects = null;
      m_parentTasks = null;
      m_taskOrder = null;
      m_nullTaskOrder = null;
   }
644044
@Delete("/metadata/{projectName}/members/{memberId}")
    public CompletableFuture<Revision> removeMember(@Param("projectName") String projectName,
                                                    @Param("memberId") String memberId,
                                                    Author author) {
        final User member = new User(loginNameNormalizer.apply(urlDecode(memberId)));
        return mds.getMember(projectName, member)
                  .thenCompose(unused -> mds.removeMember(author, projectName, member));
    }
906536
public void deleteGlobalPermission(DbSession dbSession, int userId, String permission, String organizationUuid) {
    mapper(dbSession).deleteGlobalPermission(userId, permission, organizationUuid);
  }
837058
public void removePermissions(String identity)
   {
      for (Iterator<AccessControlEntry> iter = accessList.iterator(); iter.hasNext();)
      {
         AccessControlEntry a = iter.next();
         if (a.getIdentity().equals(identity))
            iter.remove();
      }
   }
514187
public CompletableFuture<Revision> addPerUserPermission(Author author, String projectName,
                                                            String repoName, User member,
                                                            Collection<Permission> permission) {
        requireNonNull(author, "author");
        requireNonNull(projectName, "projectName");
        requireNonNull(repoName, "repoName");
        requireNonNull(member, "member");
        requireNonNull(permission, "permission");

        return getProject(projectName).thenCompose(project -> {
            ensureProjectMember(project, member);
            return addPermissionAtPointer(author, projectName,
                                          perUserPermissionPointer(repoName, member.id()), permission,
                                          "Add permission of '" + member.id() +
                                          "' as '" + permission + "' to the project " + projectName);
        });
    }
1073231
public long removeAll(final String... members) {
        return doWithJedis(new JedisCallable<Long>() {
            @Override
            public Long call(Jedis jedis) {
                return jedis.srem(getKey(), members);
            }
        });
    }
1373595
public ItemRequest<Project> removeMembers(String project) {
    
        String path = String.format("/projects/%s/removeMembers", project);
        return new ItemRequest<Project>(this, Project.class, path, "POST");
    }
357438
def del_permission(self, role, name):
        
        if not self.has_permission(role, name):
            return True
        targetGroup = AuthGroup.objects(role=role, creator=self.client).first()
        target = AuthPermission.objects(groups=targetGroup, name=name, creator=self.client).first()
        if not target:
            return True
        target.delete()
        return True
1334018
public VarSet removeMember( String name)
    {
    int i = findMember( name);
    if( i >= 0)
      {
      members_.remove(i).setParent( null) ;
      }

    return this;
    }
848258
def member_del(self, cluster_id, member_id):
        """"""
        cluster = self._storage[cluster_id]
        result = cluster.member_remove(member_id)
        self._storage[cluster_id] = cluster
        return result
195155
@Override
    public java.util.concurrent.Future<RemovePermissionResult> removePermissionAsync(String topicArn, String label,
            com.amazonaws.handlers.AsyncHandler<RemovePermissionRequest, RemovePermissionResult> asyncHandler) {

        return removePermissionAsync(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label), asyncHandler);
    }
514342
def destroy(
            self, request, pk=None, parent_lookup_seedteam=None,
            parent_lookup_seedteam__organization=None):
        ''''''
        self.check_team_permissions(
            request, parent_lookup_seedteam,
            parent_lookup_seedteam__organization)
        return super(TeamPermissionViewSet, self).destroy(
            request, pk, parent_lookup_seedteam,
            parent_lookup_seedteam__organization)
1239155
private void clearMemberData()
   {
      m_reader = null;
      m_file = null;
      m_eventManager = null;
      m_root = null;
      m_resourceMap = null;
      m_projectDir = null;
      m_viewDir = null;
      m_outlineCodeVarData = null;
      m_fontBases = null;
      m_taskSubProjects = null;
   }
770345
private void removeFromPermissionsCache(IAuthorizationPrincipal[] principals)
            throws AuthorizationException {
        for (int i = 0; i < principals.length; i++) {
            cacheRemove(principals[i]);
        }
    }
989547
public void removeMember(JSConsumerKey key)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "removeMember", key);

    LocalQPConsumerKey anyKey = null;

    // We lock the CD so other members are not added/removed while
    // we do this
    synchronized(consumerDispatcher.getDestination().getReadyConsumerPointLock())
    {
      if(singleMember != null)
      {
        if(!(key.isSpecific()))
          generalMemberCount--;

        if(singleMember == key)
          singleMember = null;
        else
        {
          // We must be the only member
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(tc, "removeMember", "SIErrorException");
            throw new SIErrorException(
              nls.getFormattedMessage(
                "INTERNAL_MESSAGING_ERROR_CWSIP0001",
                new Object[] {
                  "com.ibm.ws.sib.processor.impl.LocalQPConsumerKeyGroup",
                  "1:453:1.6.1.14" },
                null));
        }
      }
      else
      {
        if(key.isSpecific())
          specificKeyMembers.remove(key);
        else
        {
          generalKeyMembers.remove(key);
          generalMemberCount--;
          // As we've modified the list we need a new iterator
          generalMemberIndex = 0;
        }
      }

      memberCount--;

      // If that was the last member, we can remove this group
      if(memberCount == 0)
      {
        consumerDispatcher.removeKeyGroup(this);
        // Drive finished against the set of cursors
        
        if(classifyingMessages)
        {
          // Take the classifications read lock
          consumerSet.takeClassificationReadLock();
          
          int numFilters = consumerKeyFilter.length;    
          for(int i=0;i<numFilters;i++)
            consumerKeyFilter[i].detach(); 

          // Free the classifications read lock
          consumerSet.freeClassificationReadLock();          
        }
        else
        {
          consumerKeyFilter[0].detach();  
        }
      }
      // If all the remaining members are started we can start receiving
      // messages again (we couldn't have been before because the member
      // was in stopped state.
      else if(memberCount == startedCount)
      {
        if(generalMemberCount > 0)
          anyKey = generalKeyMembers.get(0);
        else
          anyKey = specificKeyMembers.get(0);
      }
    } // synchronized

    //  Start the member up
    if(anyKey!=null)
      anyKey.getConsumerPoint().checkForMessages();

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "removeMember");
  }
598199
function removeProject(project) {
		return sharedProject.findOne({'location': project}).exec()
		.then(function(doc) {
			if (doc.users.length > 0) {
				return userProjectsCollection.removeProjectReferences(doc.users, project).exec();
			}
		})
		.then(function() {
			return sharedProject.remove({location: project}).exec();
		});
	}