aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/util/FileSharePermission.xsd
blob: 769eb648ff367f9a7d268526b61dc58d5565b44c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<element name="FileSharePermission">
    <annotation>
      <documentation>
        Sets ACLs on a FileShare. This element has no Id attribute.
        The table and key are taken from the parent element.
      </documentation>
    </annotation>
    <complexType>
      <choice minOccurs="0" maxOccurs="unbounded">
        <any namespace="##other" processContents="lax">
          <annotation>
            <documentation>
              Extensibility point in the WiX XML Schema. Schema extensions can register additional
              elements at this point in the schema.
            </documentation>
          </annotation>
        </any>
      </choice>
      <attribute name="User" use="required" type="xs:string"></attribute>
      <!-- Common ACLs -->
      <attribute name="Read" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="Delete" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="ReadPermission" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="ChangePermission" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="TakeOwnership" type="wxs:YesNoTypeUnion"></attribute>
      <!-- Folder and File ACLs -->
      <attribute name="ReadAttributes" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="WriteAttributes" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="ReadExtendedAttributes" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="WriteExtendedAttributes" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="Synchronize" type="wxs:YesNoTypeUnion"></attribute>
      <!-- Folder only ACLs -->
      <attribute name="CreateFile" type="wxs:YesNoTypeUnion">
        <annotation>
          <documentation>For a directory, the right to create a file in the directory.  Only valid under a 'CreateFolder' parent.</documentation>
        </annotation>
      </attribute>
      <attribute name="CreateChild" type="wxs:YesNoTypeUnion">
        <annotation>
          <documentation>For a directory, the right to create a subdirectory.  Only valid under a 'CreateFolder' parent.</documentation>
        </annotation>
      </attribute>
      <attribute name="DeleteChild" type="wxs:YesNoTypeUnion">
        <annotation>
          <documentation>For a directory, the right to delete a directory and all the files it contains, including read-only files.  Only valid under a 'CreateFolder' parent.</documentation>
        </annotation>
      </attribute>
      <attribute name="Traverse" type="wxs:YesNoTypeUnion">
        <annotation>
          <documentation>For a directory, the right to traverse the directory.  By default, users are assigned the BYPASS_TRAVERSE_CHECKING privilege, which ignores the FILE_TRAVERSE access right.  Only valid under a 'CreateFolder' parent.</documentation>
        </annotation>
      </attribute>
      <!-- Generic ACLs, mapped by system to appropriate permissions -->
      <attribute name="GenericAll" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="GenericExecute" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="GenericWrite" type="wxs:YesNoTypeUnion"></attribute>
      <attribute name="GenericRead" type="wxs:YesNoTypeUnion">
        <annotation>
          <documentation>specifying this will fail to grant read access</documentation>
        </annotation>
      </attribute>
      <anyAttribute namespace="##other" processContents="lax">
        <annotation>
          <documentation>
            Extensibility point in the WiX XML Schema. Schema extensions can register additional
            attributes at this point in the schema.
          </documentation>
        </annotation>
      </anyAttribute>
    </complexType>
  </element>