Item Permissions Test
[ITEM PERMISSION TEST]
[VERSION] 0.1
[LENGTH] 01:00
[TESTERS] 2
[*]
[OVERVIEW] This test has been designed to cover a basic spread of functionality prior to releasing a version to the main grid.
[SETUP] Two normal users, Tester 1 and Tester 2. Assumption: New objects have next-owner copy and modify off by default.
[*]
[NO COPY]
[No-copy cannot be copied through duplicate]
[0010] Tester 1: Right-click on the ground, select Create.
[0010.0010] From the Edit Window, select the Cube Prim and left-click on the ground to create the cube object (to reduce confusion, rename the cube object under the Edit Window "Cube").
[0010.0020] Take Cube back into your Inventory (right-click on Cube, then select Take).
[0010.0030] Give a copy of Cube to Tester 2.
[0020] Tester 2: Accept offer from Tester 1 and rez Cube.
[0020.0010] Right-click on Cube to select it.
[0020.0020] Verify that you cannot duplicate Cube by hitting ctrl-D or shift-dragging Cube (After selecting Cube, select EDIT by holding down the Shift key, while dragging one of the X (red) or Y (green) axis arrows).
[0020.0030] Verify that you get an appropriate system error message (blue popup window, bottom right of viewscreen), stating: "Copy failed because you lack copy permissions"
[0030] Tester 2: Take Cube back into your inventory.
[0030.0010] Open your Inventory, click on Create on the Inventory Tool bar at the top of the Inventory window, select New Note.
[0030.0020] Right-click on the newly created note, and rename it "Note 1".
[0030.0030] Double left-click on Note 1 in your inventory to open it.
[0030.0040] Attempt to drag Cube from your Inventory into Note 1.
[0030.0050] Verify that this fails with a popup window: "Only items with unrestricted 'next owner' permissions can be attached to notecards."
[0040] Tester 2: Right-click on the ground, select Create.
[0040.0010] From the Edit Window, select the Sphere Prim and left-click on the ground to create it.
[0040.0020] Rename the sphere object under the Edit Window "Sphere".
[0040.0030] Go to Sphere's Edit Window, select the Content Tab. From your inventory, drag Cube into the Content area of Sphere.
[0040.0004] Verify you cannot duplicate Sphere either by selecting Sphere and pressing CTRL+D, or shift-dragging Sphere.
[*]
[No-copy cannot duplicate using give]
[0060] Tester 2: Make a torus which has Next Owner Yes Modify, No Copy, Yes Transfer. Give it to Tester 1 3 times.
[0070] Tester 1: Give one torus back to Tester 2. You will get a warning that it will be removed from your inventory. Click Yes. Verify that the object is immediately removed from your inventory.
[0080] Tester 2: Empty your trash. Decline the object that Tester 1 gave you. Verify the object was moved to your trash.
[*]
[No-copy nesting within object inventory]
[0090] Tester 1 do the following:
[0090.0010] Put a "Next Owner No-Copy" Object A into the contents of a permissive Object B.
[0090.0020] Put Object B into the contents of a permissive Object C.
[0090.0030] Give Object C to Tester 2.
[0100] Tester 2 do the following:
[0100.0010] Rez Object C and verify you cannot copy Object C with Ctrl-D.
[0100.0020] Verify you cannot copy Object C with shift-drag.
[0100.0030] Pull Object B out of Object C (into player inventory). Verify Object B has been removed from Object C.
[0100.0040] Rez Object B. Pull Object A out of Object B (into player inventory). Verify Object A has been removed from Object B.
[*]
[NO TRANSFER]
[No-transfer cannot be transferred]
[0110] Tester 1: Make a "Next Owner Copy, no Resell" object and give it to Tester 2.
[0120] Tester 2: Verify that you cannot give the no-transfer object back to Tester 1.
[No-transfer cannot be transferred within group]
[0120.0010] Put Tester 1 and Tester 2 in the same group.
[0120.0020] Tester 1: Make a "Next Owner Copy, Modify, no Resell" torus and give it to Tester 2.
[0120.0030] Tester 2: Rez the torus and verify that you can't turn on share with group
[*]
[No-transfer cannot be transferred via modify permissions]
[0130] Tester 1: Trade cards with Tester 2.
[0140] Tester 2: Right click Tester 1's calling card and grant modify permissions for Tester 1.
[0150] Tester 1: Verify that you cannot take the torus.
[0160] Tester 2: Revoke modify permissions for Tester 1.
[*]
[No-transfer via nesting]
[0170] Tester 1: Make a torus and take it.
[0180] Tester 1: Make a sphere and drop the torus into it.
[0190] Tester 1: Turn on "Next Owner Copy, and turn off "Next Owner Transfer" of the torus which is inside the sphere.
[0200] Tester 1: Give the sphere to Tester 2.
[0210] Tester 2: Rez the sphere and drag the torus from the sphere to your inventory
[0220] Tester 2: Verify that you cannot give the torus to Tester 1.
[*]
[NO MODIFY]
[No-modify cannot be modifed]
[0230] Tester 1: Make a "Next Owner Modify Off" torus, name it "B cannot modify", and give it to Tester 2.
[0240] Tester 2: Accept and rez the torus. Verify that you cannot modify the size or texture of the torus.
[No-modify cannot be modified via granting modify permissions]
[0250] Tester 1: Make a "Next Owner Modify Off" torus, name it "B cannot modify", and give it to Tester 2.
[0260] Tester 1: Grant modify permissions for Tester 2.
[0270] Tester 2: Verify that you cannot modify the torus.
[0280] Tester 1: Revoke modify permissions for Tester 2.
[*]
[No-modify cannot be modified via nesting]
[0290] Tester 1: Make a Next Owner permissive torus and take it.
[0300] Tester 1: Make a sphere and drop the torus into it.
[0310] Tester 1: Turn off "Next Owner Modify" and turn on "Next Owner Copy" and "Next Owner Transfer" of the torus which is inside the sphere.
[0320] Tester 1: Take the sphere and give it to Tester 2.
[0330] Tester 2: Accept the sphere and rez it. Drag the torus from the sphere to the ground. Verify that you cannot modify the size or texture of the torus.
[*]
[OTHER]
[Clothing and Body Parts]
[0340] Tester 1: Set your shirt texture to concrete and it's color to Red. Save the shirt as "no-modify shirt"
[0350] Tester 1: Set your shirt color to Green and save the shirt as "no-copy shirt"
[0360] Tester 1: Set your shirt color to Blue and save the shirt as "no-transfer shirt"
[0370] Tester 1: Save your body Shape 3 times named as "no-modify", "no-copy", and "no- transfer"
[0380] Tester 1: Set the Next Owner permissions of the 3 shirts and 3 body types to reflect their names. (by default, the next owner copy and modify permissions are turned off)
[0380] Tester 1: Give the 3 shirts and 3 body shapes to B.
[0390] Tester 2: Accept the shirts and body types.
[0400] Tester 2: Verify you cannot copy the "no-copy" shirt and body type by:
[0400.0010] Right clicking them, copy and pasting onto a folder
[0040.0020] Multi-selecting them along with a copyable item, copy and pasting onto a folder
[0040.0030] Left clicking them, hitting ctrl-C then selecting a folder and hitting ctrl-V
[0040.0040] Left clicking them, and copying them from the Edit menu
[0040.0050] Wearing the "no-copy" shirt and body type and making a new outfit with the Make Outfit button in Appearances.
[0410] Tester 2: Verify you cannot modify the "no-modify" shirt and body type by clicking any of the buttons in the appearances panel
[0420] Tester 2: Verify you cannot transfer the "no-transfer" shirt and body type by:
[0420.0010] Giving it to Tester 1
[0420.0020] Setting an object for sale and putting the clothing and body part inside.
[*]
[Notecards] i.e, how can permissions be circumvented via notecards?
[0430] Tester 1: Verify that putting a "Next Owner no-modify" object into a new notecard fails with a descriptive error message.
[0440] Tester 1: Verify that putting a "Next Owner no-copy" object into a new notecard fails with a descriptive error message.
[0450] Tester 1: Verify that putting a "Next Owner no-transfer" object into a new notecard fails with a descriptive error message.
[*]
[Textures]
[0460] Tester 1: Put a "Next Owner no-modify" texture onto an object and give the object to Tester 2.
[0470] Tester 2: Accept the object and rez it. Verify the texture is still on the object.
[0480] Tester 2: Verify you cannot copy the texture to your inventory by:
[0480.0010] Clicking a texture window for fabric (while in appearances) to pop up the texture picker, drag the "no-modify" texture to the picker, then from the texture picker clicking the "Copy to Inventory" button. Verify the new texture is still no-modify.
[0480.0020] Tester 1: Give a "Next Owner no-copy" texture to Tester 2.
[0490] Tester 2: Verify you cannot make another copy of the texture by:
[0490.0010] Opening the texture and clicking the File/Save Texture As button
[0490.0020] Copying and pasting a copy of the texture in your inventory
[0500] Tester 1: Give a "Next Owner no-transfer" texture to Tester 2.
[0510] Tester 1: Delete the texture and empty your trash.
[0520] Tester 2: Verify you cannot transfer the texture to userA by:
[0520.0001] Dragging the texture onto Tester 1.
[0520.0020] Applying the texture to an object, and giving the object to Tester 1.
[0520.0030] Dropping the texture in a notecard and giving it to Tester 1.
[0520.0040] Applying the texture to clothing and giving it to Tester 1.
[0520.0050] Applying the texture to a body part and giving it to Tester 1.