User Permissions¶
Return to Manual Test Cases.
Return to 20-specific Test Suite.
| Purpose | Test creation of users with different permission levels, verify permissions work for each level |
|---|---|
| Dependencies | Depends on admin login (fossy/fossy) to create various users and having data to upload or manipulate. |
| Step | Action | Expected Results |
|---|---|---|
| 1. | As admin user, create users with the following permissions: 1) read only: Read only 2) download: File download permitted 3) read/write: DB writes permitted 4) upload: File upload permitted 5) analyze: File analysis permitted 6) administrator: add/delete users and groups. This is the 'superuser' permission. |
Verify each user can log in and that menus are correct for that level of user: 1) read only: [Home], [Search], [Browse], [Admin]->[Users]->[Account Settings], [Help]->(About, Documentation, Getting Started) 2) download: Everything above Plus [Download] option is shown in the Browse window for each upload 3) read/write: Everything above Plus [Organize] NO delete options 4) upload: Everything above Plus [Upload]->(Instructions, From File, From URL) NO options to run analysis,[Jobs]->[My Recent Jobs] 5) analyze: Everything above Plus [Upload]->(..., One-Shot Analysis, One-Shot Copyright/Email/URL),[Jobs]->[..., Schedule Agents] 6) administrator: All menus & All options |
| 2. | As analyze user, log in and select [Organize]-->[Folders]-->[Create], Select "Software Repository" as the location and select Create button | Folder should be created and be visible to the analyze user 1287 |
| 3. | As upload user, upload a file into the Software Repository | Uploaded file and recent jobs should be visible 1281 |
| 4. | Other tests??? |