Skip to content

Commit c396b5a

Browse files
committed
update Privileges config
1 parent 3ae897f commit c396b5a

File tree

2 files changed

+135
-77
lines changed

2 files changed

+135
-77
lines changed

macos/Privileges.mobileconfig

-77
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>PayloadContent</key>
6+
<array>
7+
<dict>
8+
<key>PayloadContent</key>
9+
<dict>
10+
<key>corp.sap.privileges</key>
11+
<dict>
12+
<key>Forced</key>
13+
<array>
14+
<dict>
15+
<key>mcx_preference_settings</key>
16+
<dict>
17+
<!--
18+
key: DockToggleMaxTimeout
19+
value: a positive integer
20+
21+
Set a maximum timeout for the Dock tile's "Toggle Privileges" command. This
22+
generally works the same way as the "DockToggleTimeout" but allows the user
23+
to choose every timeout value up to the one specified. So if the admin would
24+
set "DockToggleMaxTimeout" to 20 minutes, the user may decide to set it to
25+
a value below 20 instead of being forced to use the 20 minute timeout. With
26+
regards to user experience we recommend to use "DockToggleMaxTimeout" instead
27+
of "DockToggleTimeout". if "DockToggleMaxTimeout" and "DockToggleTimeout"
28+
have been set, the fixed value of "DockToggleTimeout" takes precedence over
29+
"DockToggleMaxTimeout".
30+
-->
31+
<key>DockToggleMaxTimeout</key>
32+
<integer>15</integer>
33+
34+
<!--
35+
key: ReasonRequired
36+
value: a boolean
37+
38+
If set to true, the user must provide a reason for needing admin rights.
39+
The reason will be logged.
40+
-->
41+
<key>ReasonRequired</key>
42+
<true />
43+
<!--
44+
key: ReasonMinLength
45+
value: a positive integer below 100
46+
47+
If "ReasonRequired" is set to true, this key specifies the minimum number
48+
of characters the user has to enter as the reason for becoming an admin.
49+
If not set, the value defaults to 10. The text field is limited to a
50+
maximum of 100 characters, so values greater than 100 have no effect.
51+
Please be aware that enabling this option, disables the "Toggle Privileges"
52+
entry in the Privileges Dock tile menu.
53+
-->
54+
<key>ReasonMinLength</key>
55+
<integer>8</integer>
56+
<!--
57+
key: ReasonMaxLength
58+
value: a positive integer below 100
59+
60+
If "ReasonRequired" is set to true, this key specifies the maximum number
61+
of characters the user can enter as the reason for becoming an admin.
62+
If not set, the value defaults to 100. If a value > 100 is specified or
63+
if "ReasonMaxLength" is <= "ReasonMinLength", the value is set to default.
64+
-->
65+
<key>ReasonMaxLength</key>
66+
<integer>40</integer>
67+
<!--
68+
key: ReasonPresetList
69+
value: an array of strings
70+
71+
If "ReasonRequired" is set to true, this key allows to pre-define a list
72+
of possible reasons (for becoming an admin) the user can choose from. If
73+
set, an additional pop-up menu will appear in the dialog box. This only
74+
works for the GUI version of Privileges.
75+
-->
76+
<key>ReasonPresetList</key>
77+
<array>
78+
<dict>
79+
<key>default</key>
80+
<string>Software updates</string>
81+
</dict>
82+
<dict>
83+
<key>default</key>
84+
<string>Installing new software</string>
85+
</dict>
86+
<dict>
87+
<key>default</key>
88+
<string>Editing system settings</string>
89+
</dict>
90+
</array>
91+
</dict>
92+
</dict>
93+
</array>
94+
</dict>
95+
</dict>
96+
<key>PayloadDescription</key>
97+
<string />
98+
<key>PayloadDisplayName</key>
99+
<string>Privileges configuration</string>
100+
<key>PayloadEnabled</key>
101+
<true />
102+
<key>PayloadIdentifier</key>
103+
<string>com.apple.ManagedClient.preferences.8436814F-858D-4875-8552-4263D70478E2</string>
104+
<key>PayloadOrganization</key>
105+
<string>SAP SE</string>
106+
<key>PayloadType</key>
107+
<string>com.apple.ManagedClient.preferences</string>
108+
<key>PayloadUUID</key>
109+
<string>8436814F-858D-4875-8552-4263D70478E2</string>
110+
<key>PayloadVersion</key>
111+
<integer>1</integer>
112+
</dict>
113+
</array>
114+
<key>PayloadDescription</key>
115+
<string>Configures the Privileges app</string>
116+
<key>PayloadDisplayName</key>
117+
<string>Privileges Configuration</string>
118+
<key>PayloadEnabled</key>
119+
<true />
120+
<key>PayloadIdentifier</key>
121+
<string>com.jlaundry.privileges.C2F39834-001F-4930-AC7D-E5BA0DE82529</string>
122+
<key>PayloadOrganization</key>
123+
<string>Jed Laundry</string>
124+
<key>PayloadRemovalDisallowed</key>
125+
<false />
126+
<key>PayloadScope</key>
127+
<string>System</string>
128+
<key>PayloadType</key>
129+
<string>Configuration</string>
130+
<key>PayloadUUID</key>
131+
<string>C2F39834-001F-4930-AC7D-E5BA0DE82529</string>
132+
<key>PayloadVersion</key>
133+
<integer>1</integer>
134+
</dict>
135+
</plist>

0 commit comments

Comments
 (0)