Windows: Fixup errors in AFS ACL Property Sheet
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 29 Sep 2011 01:46:48 +0000 (21:46 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Thu, 29 Sep 2011 03:22:24 +0000 (20:22 -0700)
commitb977e52a441c70ec9ea97c7d0ebaaed17e530116
tree90c3c71970e76f69ae574d5235012bebc1856ec8
parent5ba6a6223c42abf104c02d59f8c95d1760bd9030
Windows: Fixup errors in AFS ACL Property Sheet

Unlike the afs_set_acl_dlg the PropACL sheet only uses a single
ComboList to maintain both the positive and negative ACEs but
uses two CStringArrays to separately store the positive and
negative ACEs.  Two entries in each array are used to store
an ACE.  The %2==0 entry is the pts name and the %2==1 entry is
the permission list.  This needs to be taken into account when
manipulating the negative entries since the array count for the
normal entries is twice the number of ACEs.

Negative entries were prefixed with '=' instead of '-'.

The Remove button was not hooked up and was not enabled or disabled
under all appropriate conditions.

Change-Id: I3bbfd9e82c8796554482b876d31ec53d8f9ac91f
Reviewed-on: http://gerrit.openafs.org/5518
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/client_exp/PropACL.cpp