@@ -102,7 +102,7 @@ dialog where you can fill in details for the new role.
102102
103103Provide information about the new pgAdmin role in the row:
104104
105- * Use the *Role Name * field to specify a unique name for the role.
105+ * Use the *Name * field to specify a unique name for the role.
106106* Use the *Description * field to provide a brief description of the role.
107107
108108To delete a role, click the trash icon to the left of the row and confirm deletion
@@ -162,10 +162,11 @@ email and password. role and active will be optional fields.
162162
163163 /path/to/python /path/to/setup.py add-user user1@gmail.com password
164164
165- # to specify a role, admin and non-admin users:
165+ # to specify a role, either you can use --admin for Administrator role or provide the
166+ # role using --role. If both are provided --admin will be used:
166167
167168 /path/to/python /path/to/setup.py add-user user1@gmail.com password --admin
168- /path/to/python /path/to/setup.py add-user user1@gmail.com password --nonadmin
169+ /path/to/python /path/to/setup.py add-user user1@gmail.com password --role Users
169170
170171 # to specify user's status
171172
@@ -186,10 +187,11 @@ followed by email, password and authentication source. email, role and status wi
186187
187188 /path/to/python /path/to/setup.py add-external-user ldapuser ldap --email user1@gmail.com
188189
189- # to specify a role, admin and non-admin user:
190+ # to specify a role, either you can use --admin for Administrator role or provide the
191+ # role using --role. If both are provided --admin will be used:
190192
191193 /path/to/python /path/to/setup.py add-external-user ldapuser ldap --admin
192- /path/to/python /path/to/setup.py add-external-user ldapuser ldap --nonadmin
194+ /path/to/python /path/to/setup.py add-external-user ldapuser ldap --role Users
193195
194196 # to specify user's status
195197
@@ -206,10 +208,11 @@ email address. password, role and active are updatable fields.
206208
207209 /path/to/python /path/to/setup.py update-user user1@gmail.com --password new-password
208210
209- # to specify a role, admin and non-admin user:
211+ # to specify a role, either you can use --admin for Administrator role or provide the
212+ # role using --role. If both are provided --admin will be used:
210213
211- /path/to/python /path/to/setup.py update-user user1@gmail.com password --role -- admin
212- /path/to/python /path/to/setup.py update-user user1@gmail.com password --role --nonadmin
214+ /path/to/python /path/to/setup.py update-user user1@gmail.com password --admin
215+ /path/to/python /path/to/setup.py update-user user1@gmail.com password --role Users
213216
214217 # to specify user's status
215218
@@ -226,17 +229,18 @@ followed by username and auth source. email, password, role and active are updat
226229
227230 # to change email address:
228231
229- /path/to/python /path/to/setup.py update-external-user ldap ldapuser --email newemail@gmail.com
232+ /path/to/python /path/to/setup.py update-external-user ldapuser --auth-source ldap --email newemail@gmail.com
230233
231- # to specify a role, admin and non-admin user:
234+ # to specify a role, either you can use --admin for Administrator role or provide the
235+ # role using --role. If both are provided --admin will be used:
232236
233- /path/to/python /path/to/setup.py update-user user1@gmail.com password --role --admin
234- /path/to/python /path/to/setup.py update-user user1@gmail.com password --role --nonadmin
237+ /path/to/python /path/to/setup.py update-external- user user1@gmail.com password --role --admin
238+ /path/to/python /path/to/setup.py update-external- user user1@gmail.com password --role --role Users
235239
236240 # to change user's status
237241
238- /path/to/python /path/to/setup.py update-user ldap ldapuser --active
239- /path/to/python /path/to/setup.py update-user ldap ldapuser --inactive
242+ /path/to/python /path/to/setup.py update-user ldapuser --auth-source ldap --active
243+ /path/to/python /path/to/setup.py update-user ldapuser --auth-source ldap --inactive
240244
241245 Delete User
242246***********
0 commit comments