Commit 1c77873
committed
Improve documentation of the CREATEROLE attibute.
In user-manag.sgml, document precisely what privileges are conveyed
by CREATEROLE. Make particular note of the fact that it allows
changing passwords and granting access to high-privilege roles.
Also remove the suggestion of using a user with CREATEROLE and
CREATEDB instead of a superuser, as there is no real security
advantage to this approach.
Elsewhere in the documentation, adjust text that suggests that
<literal>CREATEROLE</literal> only allows for role creation, and
refer to the documentation in user-manag.sgml as appropriate.
Patch by me, reviewed by Álvaro Herrera
Discussion: http://postgr.es/m/CA+TgmoZBsPL8nPhvYecx7iGo5qpDRqa9k_AcaW1SbOjugAY1Ag@mail.gmail.com1 parent 54afdcd commit 1c77873Copy full SHA for 1c77873
4 files changed
+52-25Lines changed: 52 additions & 25 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/src/sgml
- ref
Expand file treeCollapse file tree
Open diff view settings
Collapse file
doc/src/sgml/ref/alter_role.sgml
Copy file name to clipboardExpand all lines: doc/src/sgml/ref/alter_role.sgml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
320 | 320 | |
321 | 321 | |
322 | 322 | |
323 | | - |
| 323 | + |
324 | 324 | |
325 | 325 | |
326 | 326 | |
|
Collapse file
doc/src/sgml/ref/create_role.sgml
Copy file name to clipboardExpand all lines: doc/src/sgml/ref/create_role.sgml+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
119 | 119 | |
120 | 120 | |
121 | 121 | |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
127 | 127 | |
128 | 128 | |
129 | 129 | |
|
Collapse file
doc/src/sgml/ref/createuser.sgml
Copy file name to clipboardExpand all lines: doc/src/sgml/ref/createuser.sgml+13-5Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | | - |
45 | | - |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
46 | 48 | |
47 | | - |
| 49 | + |
| 50 | + |
| 51 | + |
48 | 52 | |
49 | 53 | |
50 | 54 | |
| ||
247 | 251 | |
248 | 252 | |
249 | 253 | |
250 | | - |
251 | | - |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
252 | 260 | |
253 | 261 | |
254 | 262 | |
|
Collapse file
doc/src/sgml/user-manag.sgml
Copy file name to clipboardExpand all lines: doc/src/sgml/user-manag.sgml+33-14Lines changed: 33 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
191 | 191 | |
192 | 192 | |
193 | 193 | |
194 | | - |
| 194 | + |
195 | 195 | |
196 | 196 | |
197 | 197 | |
| ||
200 | 200 | |
201 | 201 | |
202 | 202 | |
203 | | - |
204 | | - |
205 | | - |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
206 | 235 | |
207 | 236 | |
208 | 237 | |
| ||
280 | 309 | |
281 | 310 | |
282 | 311 | |
283 | | - |
284 | | - |
285 | | - |
286 | | - |
287 | | - |
288 | | - |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | 312 | |
294 | 313 | |
295 | 314 | |
|
0 commit comments