source: trunk/doc/test/gui/useradmin.tex @ 2024

Last change on this file since 2024 was 2024, checked in by Martin Svensson, 16 years ago

Updated testdocument for List columns,Filter and User admin

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 13.7 KB
Line 
1% $Id: useradmin.tex 2024 2006-02-17 15:59:13Z martin $
2
3\section{User admin}
4
5\subsection{Users}
6The users can be accessed through \menu{Adminstrate} \ra \menu{Users}
7
8\subsubsection{New...}
9\label{sssusernew}
10\begin{itemize}
11\item Expired useraccount
12\begin{enumerate}
13\item Click on the tab \tab{New...} to open the 'Create user' window.
14\item Clear all textfields and press \button{Save}. It shouldn't be
15  possible to save whithout name and login.
16\item Set \textbf{Name:} to \userinput{Test {\AA}\"a\"o} and press
17  \button{Save} to. It shouldn't be possible to save without login.
18\item Give the user following settings:
19\begin{description}
20\item [Login:]\userinput{explogin}.
21\item [External ID:] \userinput{expid}
22\item [New password:] \userinput{testpassword}.
23\item [Retype password:] \userinput{TESTPASSWORD}.\\Press
24  \button{Save} to test that it's not possible to submit when the
25  retyped password not is identical with the text in New
26  password. Change the Retype password to \userinput{testpassword}.
27\item [Quota group:] Select a group quota group if there is any.
28\item [Home directory:] Select \click{-create new from template-}
29\item [Expiration date:] \userinput{1999-01-01}
30\end{description}
31\item Press \button{Save}
32\item Open a new web browser window/tab and login to BASE2 as the
33  new user. It shouldn't be possible because of the expired date.
34\item Use the active session to check if there is a home directory for
35  the new user.
36\end{enumerate}
37
38\item User with quota and no home directory
39\begin{enumerate}
40\item Open the window to create a user.
41\item Give the new user following parameters: \\name:
42  \userinput{Quota noHome}\\login: \userinput{QnHD}\\
43  password: \userinput{pw}.
44\item Set quota to \click{Default quota} and quouta group to
45  \click{-none-}.
46\item Select home directory to be \click{-none-} and leave expiration
47  date empty.
48\item Check \checkbox{Multi-user account} and uncheck
49  \checkbox{Disabled}.
50\item Go to \tab{Membership}, press \button{Add groups...}, check the group
51  \checkbox{Users} and press \button{Ok}. The group should be visible
52  in the list.
53\item Press \button{Add role...}, check the role \checkbox{Guest} and press
54  \button{Ok}. The role should be visible in the list.
55\item Press \button{Save} in the buttom of the window.
56\item Open a new web browser window/tab and login to BASE2 as the
57  new user. Try to change the password under \menu{File} \ra
58  \menu{Change password...}, it shouldn't be possible. Check that this
59  login doesn't have a home directory.
60\item Check that the user has been added to the Users-group and
61  Guest-role by viewing the properties for the group/role.
62\end{enumerate}
63
64\item User with unlimited quota and a empty home directory.
65\begin{enumerate}
66\item Click on \tab{New...} to create a new user.
67\item Give the new user following parameters:\\name
68  \userinput{unlQ Emptyhome}\\login \userinput{ulQeHD}\\password
69  \userinput{pw}.
70\item Set quota to \click{Unlimited quota} and quota group to
71  \click{-none-}.
72\item Select home directory to be \click{-create new(empty)-} and
73  leave expiration date empty.
74\item Leave \checkbox{Multi-user account} unchecked and check
75  \checkbox{Disabled}.
76\item Press \button{Save}.
77\item Open the a new web browser window/tab and try login to BASE2 as the
78  new user. It shouldn't be possible because of the disabled option.
79\item Use the active session to uncheck \checkbox{Disabled} for
80  \textit{ulQeHD} and try to login one more time with this login and
81  password, it should be successful.
82\item Check that the new user has an empty home directory.
83\end{enumerate}
84
85\item User with existing home directory
86\begin{enumerate}
87\item Open the window to create a user.
88\item Give the new user the following parameters: name
89  \userinput{Exist Home}, login \userinput{xhome} and password
90  \userinput{pw}.
91\item Set quota to \click{500 MB total} and quota group to
92  \click{-none-}.
93\item Select home directory to be \click{ulQeHD} or some other
94  existing login from the list of home directories.
95\item Leave expiration date empty and \checkbox{Multi-user account}
96  and \checkbox{Disabled} unchecked.
97\item Go to the tab \tab{Contact Information}.
98\item Type \userinput{base.com} in the field for emailaddress. Press
99  \button{Save}. Is the invalid email-address accepted?\\ Type \userinput{something@base.com} in the email field instead.
100\item Type \userinput{BASE tester} in the organisation field.
101\item Type \userinput{Text in textbox} in the textfield for
102  address. Click on the \rt to open a large window for address.
103  and type \userinput{Text in large window}. Press \button{Ok}. Is the
104  text from the textfield displayed in the large window and does the
105  field get updated when submitting the large window?
106\item Repeat previous step for the description field.
107\item Go to tab \tab{Membership} and add   and/or a role to the
108  user.
109\item Press \button{Save} to save the settings for the user.
110\end{enumerate}
111\end{itemize}
112
113\subsubsection{Userlist}
114\begin{enumerate}
115\item Select \click{All columns} in the dropdown list '-view/presets-'.
116\item Do the steps in \seclistpage\ before continuing.
117\item View an user's properties by clicking on it's name in the
118  list.
119\item Click on \tab{Edit...}.
120\item Change the values/properties for the users that were created earlier in
121  the test by following the steps in \secnewuser\ . It shouldn't be
122  the same steps that the user were created from.
123\item Check that the properties are updated.
124\item Click on \click{Delete} in the user's property window. Go back to the \click{Users} list and control that the user is deleted.
125\item Set the list to view removed items and open the properties for
126  the user that was removed recently. Click on \click{Restore} to
127  remove the flagg for deletion and then return to the user list.
128\end{enumerate}
129
130\subsubsection{Columns}
131Follow the steps in \seclistcolumns\ and have following information in mind
132when preforming the tests:
133\begin{itemize}
134\item The columns in Users-list are Name, Description, Quota group,
135  Quota, Url,Fax, Phone, Email, Address, Organisation,Multi-user
136  account, Disabled, Expiration date, External ID, System ID and Login .
137\item The required field is Name.
138\item The visible columns in default preset are Name, Description,
139  Login, Expiration date, Email and Description.
140\end{itemize}
141
142\subsubsection{Filter}
143Follow the steps in \secfilter\ to test the filters and use the
144following values on the column filters.
145\begin{description}
146\item [Name:] \userinput{r\%} - all users that have a name that starts
147  with a 'R'.
148\item [Description:] \userinput{=} - users that don't have any description.
149\item [Quota group:] \userinput{<>} - users that belongs to quota group
150\item [Quota:] \userinput{<>unlimited quota} - users that don't have
151  unlimited qouta.
152\item [Url:] \userinput{=} - the users with a World-Wide-Web
153  address that ends with 'se'.
154\item [Fax:] \userinput{+46\%} - users with a fax-number that starts
155  with '+46'
156\item [Phone:] \userinput{+46\%} - users with a phone-number that starts
157  with '+46'
158\item [Email:] \userinput{\%lu.se} - users with a email at 'lu.se'
159\item [Address:] \userinput{\%lund\%} - users with 'lund' in there address
160\item [Organisation:] \userinput{=} - users that don't have any
161  organisation registred.
162\item [Multi-user account:] \radiobox{true} - all users account
163  that is set as a multi-user.
164\item [Disabled:] \radiobox{false} - all users that not ar
165\item [Expiration date:] \userinput{<2006-02-23} - lists the usersaccounts
166  that exipered before 2006-02-23
167\item [External ID:] \userinput{}
168\item [System ID:] \userinput{\%net.sf.basedb\%} - lists the
169  useraccounts that are system items in BASE2, \eg{Root account} 
170\item [Login:] \userinput{test\%} - lists user with a login that
171  starts with 'test'.
172\end{description}
173Combine the different filters with each other and check the result.
174
175\subsection{Groups}
176Groups can be accessed through \menu{Administrate} \ra \menu{Groups}
177
178\subsubsection{New..}
179\label{sssgroupnew}
180\begin{enumerate}
181\item Click on the tab \tab{New...} to open the 'Create group'
182  dialogwindow and close it with \button{Cancel}. Open the
183  dialogwindow again.
184\item Clear the textfield for name and try to save the new group
185  without a name. It shouldn't be possible?
186\item Give this new group the name \userinput{Testgroup}.
187\item Type \userinput{Text in small window} in the Description textbox.
188\item Click on the \rt d to the right of the description textbox and
189  type \userinput{Text in large window} in the large window.
190\item Press \button{Ok} and check if the Description text is as expected.
191\item Set Quota to \click{Default quota(10.0MB totalt)}
192\item Change to the tab \tab{Members}.
193\item Press \button{Add user...}, select \checkbox{Root} and press
194  \button{Ok} to add the user and close the window.
195\item Press \button{Add groups...}, select \checkbox{Everyone} and
196  \checkbox{Users} and press \button{Ok} to add the groups and close
197  the window.
198\item Select \click{Everyone} and press \button{Remove} to remove the
199  listed group.
200\item Press \button{Save} and check the user and the group that
201  belongs to this new group.
202\end{enumerate}
203
204\subsubsection{Grouplist}
205\begin{enumerate}
206\item Select \click{All columns} in the dropdown list '-view/presets-'.
207\item Do the steps in \seclistpage\ before continuing.
208\item View a group's properties by clicking on it's name in the
209  list. Make sure that the group not is a system item.
210\item Click on \tab{Edit...}.
211\item Test to change the values in the fields by doing the steps under
212  previous \secnewgroup\ Start at the second step. Finish it
213 by saving the new information and check that the properties are updated.
214\item Click on \click{Delete} in the group's property window. Go back to the \click{Groups} list and control that the group is deleted.
215\item Set the list to view removed items and open the properties for
216  the group that was removed recently. Click on \click{Restore} to
217  remove the flagg for deletion and then return to the group list.
218\end{enumerate}
219
220\subsubsection{Columns}
221Follow the steps in \seclistcolumns\ and have following information in mind
222when preforming the tests:
223\begin{itemize}
224\item The columns in Groups-list are Name, System ID, Quota and Description.
225\item The required field is Name.
226\item The visible columns in default preset are Name and Description.
227\end{itemize}
228
229\subsubsection{Filter}
230Follow the steps in \secfilter\ to test the filters and use the
231following values on the column filters.
232\begin{description}
233\item [Name:] \userinput{\%s\%} - at least 2 hits.
234\item [System ID:] \userinput{\%sf\%} - at least 1 hit.
235\item [Quota:] \userinput{\%unlimited\%} - all the groups that have an
236  unlimited quota.
237\item [Description:] \userinput{\%every\%} - at least 2 hits.
238\end{description}
239Combine the different filters with each other and check the result.
240
241\subsection{Roles}
242The roles can be accessed through \menu{Adminstrate} \ra \menu{Roles}
243
244\subsubsection{New..}
245\label{sssrolenew}
246\begin{enumerate}
247\item Click on the tab \tab{New...} to open the 'Create role'
248  dialogwindow and close it with \button{Cancel}. Open the
249  dialogwindow again.
250\item Clear the textfield for name and try to save the new role
251  without a title. It shouldn't be possible?
252\item Give this new role the name \userinput{Testrole}.
253\item Check \checkbox{Share to Everyone} and \checkbox{Act as another
254  user}.
255\item Type \userinput{Text in small window} in the Description textbox.
256\item Click on the \rt d to the right of the description textbox and
257  type \userinput{Text in large window} in the large window.
258\item Press \button{Ok} and check if the Description text is as expected.
259\item Change to the tab \tab{Permissions}. Set different kind of
260  permissions to the item types and remeber them to be able to test
261  them later.
262\item Change to the tab \tab{Members}.
263\item Press \button{Add user...} and  select a user that shall belong
264  to this role.
265\item Add another user but remove it again with the button
266  \button{Remove}.
267\item Press \button{Save} and check the users that belongs to this new
268  role.
269\end{enumerate}
270
271\subsubsection{Rolelist}
272
273\begin{enumerate}
274\item Select \click{All columns} in the dropdown list '-view/preset-'.
275\item Do the steps in \seclistpage\ before continuing.
276\item View a role's properties by clicking on it's name in the
277  list. Make sure that the role not is a system item.
278\item Click on \tab{Edit...}.
279\item Test to change the values in the fields by doing the steps under
280  previous \secnewrole\ Start at the second step. Finish it
281 by saving the new information and check that the properties are updated.
282\item Click on \click{Delete} in the role's property window. Go back to the \click{Role} list and control that the role is deleted.
283\item Set the list to view removed items and open the properties for
284  the role that was removed recently. Click on \click{Restore} to
285  remove the flagg for deletion and then return to the role list.
286\end{enumerate}
287
288\subsubsection{Filter}
289Follow the steps in \secfilter\ to test the filters and use the
290following values on the column filters.
291\begin{description}
292\item [Name:] \userinput{\%or\%} - at least 2 hits.
293\item [System ID:] \userinput{\%sf\%} - at least 5 hits.
294\item [Description:] \userinput{\%with\%} - at least 3 hits.
295\end{description}
296Change the filter on System ID to be \userinput{\%sf\%a\%a\%} and use
297the other two values above to combine the filters.\\It should give at
298least one hit when all three columns are filtered together.\\The results are based on some default roles that are standard in BASE2.
299\subsubsection{Columns}
300Follow the steps in \seclistcolumns\ and have following information in mind
301when preforming the tests:
302\begin{itemize}
303\item The columns in Role-list are Name, System ID and Description.
304\item The required field is Name.
305\item The visible columns in default preset are Name and Description.
306\end{itemize}
307
308\subsection{Quota}
Note: See TracBrowser for help on using the repository browser.