Adhoc Inventory Permissions Test

Category:Test Plans
Category:QA Portal
Category:Quality Assurance
Category:Test Scripts
Focusing on No-Copy parameters
== Copy a no-copy object ==
# Give attachments by dropping them on an av
## UserA, wear a no-copy box
## Attempt to drag the worn box from your inventory to UserB's Avatar
## (Fix: The item is not offered to the other person)
# give attachments by dropping them on a profile
## UserA, wear a no-copy item
## Drag the attachment onto UserB's opened calling card, unopened calling card in your inventory, or finder profile.
## You will get an error: "Second Life: System unable to transfer inventory."
## The object will disappear from your inventory, but you will still be wearing it.
## You can drop the attachment and take it again.
## (Fix: The item is not offered to the other person)
# Dupe attachments when flying offworld
## Attach a rocket pack and fly off the grid by flying through the corner of 3 sims and failing handoff
## Detach the object if it's still visible.
## Later, the attachment may reappear. Detach this 2nd copy.
# Rez multiple objects while sim is lagged
## Go to a busy sim, such as a sandbox.
## Quickly drag a no-copy object to the ground multiple times before the object rezzes in.
# Put object in folder and rez folder
## Make a new folder and put a no-copy object into it.
## Drag the folder to the ground. A container item labelled "Many Things" would appear on the ground containing the no-copy object.
## You can no longer rez a non-object.
# Put object in folder and give folder
## Put a no-copy object into a folder and drop the folder on another user's Avatar, opened calling card, unopened calling card in your inventory, or finder profile.
# put no-copy object into an attachment you are wearing
## Drag an inventory item into the contents of an attachment you are wearing. Try both ctrl-dropping it onto attachment and dragging it into the contents folder.
## llGiveInventory a no-copy object to your attachment, then detach and rez multiple copies of your still copyable attachment
## buy a no-copy object
## ctrl-drop it into an object you own called 'sender'
## attach 'receiver' object to your hand
## manually copy key reported by receiver into the sender script target
## click on sender, no-copy object will xfer to receiver (new, correct behavior is the sender will say "Unable to give inventory: Blocked by permissions")
## detach receiver to inventory
## note that you can now rez many copies of receiver, all containing no-copy object
 // sender script:
 key target = "UUID";
 default
 {
 touch_start(integer total_number)
 {
 llGiveInventory(target, "Object");
 }
 }
 // receiver script: 
 default
 {
 state_entry()
 {
 llSay(0, (string)llGetKey());
 llAllowInventoryDrop(TRUE);
 }
 }
# Put a no-copy object into a container and set the no-copy object for sale. A dupe appears in your Lost and Found. (Fix: The purchase fails silently)
# Copy no copy object by sitting on it and shift-dragging an attachment
## Drag the no-copy object onto the ground.
## Make a box and attach it to the avatar.
## Sit on the no-copy object.
## Edit the box on the avatar, hold shift and pull-copy
# can disable no-copy permissions with linking and unlinking )
## Rez 2 boxes, A and B, and turn on the next owner perms.
## Rez a no-copy object that you have modify permissions on. Call it C.
## Select C then B then A and Link.
## Select individual and unlink A.
## Link the linked set(of B and C) to A.
## Unlink the whole linked set.
## Check if it's still no-copy.
# can copy a new no-copy object if it has not yet been rezzed 
## Deed a next owner no-copy, yes-modify object.
## Deed a next owner permissive object.
## Link the no-copy object to the permissive object.
## Check if you can copy the linked object.
# can copy a new no-copy object if it has not yet been rezzed #2 
## UserA, create a next owner no-copy, yes-modify object and a next owner permissive object. Set them both for sale, Original.
## UserB, buy them. Link the no-copy to the permissive. Set for sale original.
## UserA, buy the object.
## Check if UserA is not able to copy the object.
# can copy a new no-copy object if it has not yet been rezzed #3 (bug 1438)
## UserA, create a no-copy, next owner no-copy, next owner modify object and a next owner permissive object. Link them together (permissive as root).
## Set for sale, original.
## UserB, buy the object.
## UserB is able to copy the object.
# make outfit can copy a no-copy object which is in your attachment
## Put your no-copy object into the contents of a box. Attach the box.
## Enter appearance and make a new outfit.
## The attachment will be duplicated along with the no-copy object inside.
# can copy a no-copy object by linking it to a yes-copy object and modifying
## Rez the M/C/NT object (Object A).
## Rez a cube and set the cube's permissions to M/C/T.
## Link Object A to the cube so that the cube is the parent prim.
Permissions are now M/C/NT on the object. The permission checkboxes
are correctly disabled and can't be changed.
''
## Select the "Edit Linked Parts" option and select one of the prims in Object A. Change it's twist, topsize, or another parameter.
## De-select the "Edit Linked Parts" option and return to the General tab. The permission checkboxes are no longer disabled and you can enable the "Copy" checkbox.
# can copy no-copy objects via Wear / Drop
## Go to a sim with low (~10) SimFPS? for best results.
## Make a no-copy box.
## Right-click the box, More> Wear.
## Quickly right-click the box and Drop it into the world.
## Observe If there is a box on the ground and one in your inventory.
# The detach process should take a couple seconds if you have proper lag.
## Attempt to drag the container to the ground while it is still highlighted/attached.
## As soon as the attachment is no longer highlighted, release your mouse button to rez it on the ground.
## Edit the container.
## Observe: The no-copy items are in your inventory, and they are also in the container.