/// <summary> /// Removes all the ACL entries for a user. /// </summary> /// <param name="user">The user.</param> /// <returns><c>true</c> if the operation succeeded, <c>false</c> otherwise.</returns> private bool RemoveAllAclEntries(UserInfo user) { return(AuthWriter.RemoveEntriesForGlobals(user)); }
/// <summary> /// Removes all the ACL entries for a group. /// </summary> /// <param name="group">The group.</param> /// <returns><c>true</c> if the operation succeeded, <c>false</c> otherwise.</returns> private bool RemoveAllAclEntries(UserGroup group) { return(AuthWriter.RemoveEntriesForGlobals(group)); }
/// <summary> /// Removes all the ACL entries for a user. /// </summary> /// <param name="user">The user.</param> /// <returns><c>true</c> if the operation succeeded, <c>false</c> otherwise.</returns> private bool RemoveAllAclEntries(UserInfo user) { AuthWriter authWriter = new AuthWriter(Collectors.CollectorsBox.GetSettingsProvider(currentWiki)); return(authWriter.RemoveEntriesForGlobals(user)); }