Group Permissions Test

Category:Test Scripts
=GroupPermissionsTest=
[VERSION] 0.2
[LENGTH] 00:60
[TESTERS] 2
[OVERVIEW] This test has been designed to the Group Permissions System.
[SETUP] 2 normal users (no modify rights granted unless stated), Tester 1 and Tester 2, 100L$ for Group Creation, Rezzable land
==Basic Permissions==
Tester 1: Click the Edit Menu > Group. From the Pop up Window select Create.
Tester 1: Create a Group X and Invite Tester 2 into the "Everyone" role. (This role does not have ability to Manipulate (move, copy, modify) group-owned objects)
Tester 2: Accept the offer of Membership
Tester 1 & 2: Find some Rezzable land to work on.
Tester 1: Right-click on the ground and select "Create" from the Pie Menu, Rez a Cube
Tester 1: Edit the cube, Selecting the "more >>" button if neccessary" to access the general tab
Tester 1: Verify that all permissions for "Share with group" , "Allow anyone to" and "Allow anyone to Copy" are off by default.
Tester 2: Verify that you cannot move, modify, copy or buy the box
== Other Permissions Override Group Permissions ==
Tester 1: Right-click on the cube and select Edit, Click the General Tab
Tester 1: Tick the "Allow anyone to move" Checkbox and also Tick The "For Sale" Checkbox, Setting the price at 0L$ and sale type as Copy. Leave the "Share with group" unticked.
Tester 2: Verify you can move and Buy the cube (even though you don't have group permissions)
Tester 2: Right-click and Edit the Cube, and Press Shift-left-click on the drag bars and try and drag a copy
Tester 2: Verify you cannot copy the cube, and receive a pop up warning.
Tester 1: Right-click and Edit the Cube, Tick the "Allow anyone to copy" Tickbox and close the window
Tester 2: Right-click on the cube and Select More > Take Copy
Tester 2: Verify you were able to take a copy
[NOTE] It's unclear exactly what permissions "Share with group" give you. The UI should 
make this information clear.
== Group Permissions + Attach ==
Tester 2: Verify you cannot attach the box that Tester 1 made. (because you are 
only allowed to attach objects you own)
== Newly Bought Objects Cannot Be Bought ==
Tester 1: Edit the cube, Selecting the "more >>" button if neccessary" to access the general tab
Tester 1: Tick the "Share with group" permission Checkbox, Under the "Next owner can" section Tick, "Modify" and "Copy", and Leave "Resell/GiveAway" Ticked.
Tester 1: Note All the permissions on the object should be on now.
Tester 2: Right-click on Tester 2's cube and Select "Buy" from the Pie Menu, and Confirm the "Buy"
Tester 2: Find the Cube object in your Inventory and Rez it in world
Tester 2: Right-click and edit your cube, and look in the General Tab
Tester 2: Verify that all permissions set in "Next owner can" section are still Ticked and "For Sale" is NOT Ticked. (This is so someone cannot buy the object from you without your wish.)
Tester 2: Delete your box.
== Locking an object turns off all move and modify permissions ==
Tester 1: Right-click on your cube and select Edit from the Pie Menu
Tester 1: Select the Object Tab, and Tick the "Lock" Tickbox
Tester 1: Select the General Tab again.
Tester 2: Verify that "Allow anyone to move" is turned off (and greyed out) and that the "You cannot modify this object." text is visible.
Tester 2: Right-click and Edit Tester 1's cube
Tester 2: Verify you cannot move or modify the box.
Tester 1: Delete the box
== Buyer restrictive permissions override group permissions ==
Tester 1: Right-click on the ground and select "Create" from the Pie Menu, Rez a cube
Tester 1: Right-click and Edit the cube and Select the General Tab
Tester 1: Tick the "share with Group", "Allow anyone to move", "Allow anyone to copy" and "For Sale" Checkboxes, Set the sale Price at 0L$ and type as Copy.
Tester 1: Check The "Next Owner can:" Is Modify and Copy are Unticked, and Resell/GiveAway is Ticked and Grayed out (default settings)
Tester 1: Close the Edit Window
Tester 2: Right-click on Tester 1's cube and Select Buy
Tester 2: In the Buy Dialog Verify it says (no copy)(no modify) next to the object name, then select "Buy"
Tester 2: Find the cube in your Inventory and Rez it in world
Tester 2: Verify you cannot copy or modify it.
Tester 2: Delete your copy of the cube
== Buyer restrictive permissions override granted permissions ==
Tester 1: Right-click on Tester 2: and Select "Add Friend"
Tester 2: Accept the Friendship
Tester 1: Open the Friends List, Left-click on Tester 2's name then Check the "Can modify my objects" option and click Yes on the confirmation dialog.
Tester 2: Right-click on Tester 1's cube and Select Buy
Tester 2: In the Buy Dialog Verify it says (no copy)(no modify) next to the object name, then select "Buy"
Tester 2: Find the cube in your Inventory and Rez it in world
Tester 2: Verify you cannot copy or modify it.
Tester 2: Delete your copy of the cube
Tester 1: Open the Friends List, Left-click on Tester 2's name then Uncheck the "Can modify my objects" option and click Yes on the confirmation dialog.
== Group member created copies have correct ownership and permissions ==
Tester 1: Right-click on the ground and select "Create" from the Pie Menu, Rez 2 Prim cubes
Tester 1: Right-click and Select Edit on one prim, then Shift-left-click on the other to Select them both
Tester 1: Select the Tools Menu > Link or Press Ctrl-L
Tester 1: Check and Leave the Default Permissions, "Next owner Can" Modify and Copy is Unticked, Resell/Giveaway is ticked but greyed out.
Tester 1: Tick the "Share with Group" Tickbox
Tester 2: Right-click and edit the linked set of prims, Shift-left-click and drag to make a new copy
The newly created copy will be the object that was left in place, NOT the object that is dragged.
Tester 2: Turn on the Debug Menu by pressing Ctrl-alt-d
Tester 2: Click the Debug Menu > Debug Permissions
Tester 2: Right-click and edit the new copy of the object, and in the general Tab examine the permissions.
[NOTE] Debug Permission Types: B=base, O=Owner, G=Group, E=Everyone, N=Next Owner & F=Flagged.
Tester 2: Verify the Creator is Tester 1, and the Owner is Tester 2, and Look under G: for group at the bottom and make sure M and C are NOT listed ie (G:V) and NOT (G:VMC)
Tester 2: Right-click and Edit Tester 1's original Linked Set
Tester 2: Press Ctrl-D to make another Copy
Tester 2: Right-click and edit the new copy of the prims, In the general Tab examine the permissions
Tester 2: Verify the Creator is Tester 1, and the Owner is Tester 2, and Look under G: for group at the bottom and make sure M and C are NOT listed ie (G:V) and NOT (G:VMC)
Tester 2: Right-click original Linked Set, Select "More > Take Copy" from the Pie Menu
Tester 2: Find this object in your Inventory and Rez it in world
Tester 2: Right-click and edit the new copy of the prims, In the general Tab examine the permissions
Tester 2: Verify the Creator is Tester 1, and the Owner is Tester 2, and Look under G: for group at the bottom and make sure M and C are NOT listed ie (G:V) and NOT (G:VMC)
Tester 2: Right-click and Edit Tester 1's original Linked Set
Tester 2: Right-click original Linked Set, Select "Take" from the Pie Menu
Tester 2: Find this object in your Inventory and Rez it in world
Tester 2: Right-click and edit the new copy of the prims, In the general Tab examine the permissions
Tester 2: Verify the Creator is Tester 1, and the Owner is Tester 2, and Look under G: for group at the bottom and make sure M and C are NOT listed ie (G:V) and NOT (G:VMC)
== Duplicate your own object turns "Buy" off, and leaves all other permissions as they were ==
Tester 1: Right-click on the ground and select "Create" from the Pie Menu, Rez a cube.
Tester 1: Right-click and Edit the cube, under the General Tab, Turn on the following permissions, Share with group, Allow anyone to move, For Sale, Allow anyone to copy, Next Owner can Modify, Copy and Resell.
Tester 1: Press Ctrl-D to Duplicate the Object
Tester 1: Examine the new copy and Verify all the Permissions are still on Except the "For Sale" Tickbox
Tester 1: Delete that Cube
Tester 1: Right-click on the ground and select "Create" from the Pie Menu, Rez A cube
Tester 1: Right-click and Edit the cube, under the General Tab, Under the "Next owner Can" Section, Tick the "Copy" Tickbox, and Deselect the "Resell/GiveAway" Tickbox
Tester 1: Tick the "For Sale" Tickbox, Set a Price of 0L$, and set the sale type as Copy
Tester 2: Right-click on the Box and Select "Buy"
Tester 2: Rez a copy of the new cube from your Inventory
Tester 2: Verify that only the "Next owner can Copy" permission is ticked.
Tester 2: Attempt to give the cube back to Tester 1:
Tester 2: Verify it Fails because the cube is no-transfer.
Tester 2: Attempt to set the cube "For sale"
Tester 2: Verify the option is not available, as the cube is no-transfer
Tester 1 & 2: Delete any Cubes
== Verify one member can modify, take, and copy another member's object ==
Tester 1: Right-click on the ground and select "Create" from the Pie Menu, Rez A cube
Tester 1: Right-click and Edit the cube, under the General Tab, Tick the "Share with Group" Tickbox
Tester 1: Close the Edit Window
Tester 2: Verify you can Modify the box.
Tester 2: Verify you can Copy the object.
Tester 2: Verify you can Take the box.
== Deleting a member's no-copy object ==
Tester 1: Right-click on the ground and select "Create" from the Pie Menu, Rez A cube
Tester 1: In the General Tab, Tick the "For Sale" Tickbox, Set the Price as 0L$, Look under "Next owner can" and keep "Copy" and "Modify" unticked
Tester 2: Right-click on the cube and Select Buy
Tester 2: Find some land NOT owned by Tester 1, and Drag the cube from your Inventory to the Ground
Tester 2: Right-click on the cube, and Edit, in the General Tab, Tick the "Share with Group" Tickbox
Tester 1: Try and delete the cube
Tester 1: Verify you cannot delete the cube.
==Selling Contents from a group owned object==
Tester 1: Turn on the Title for Group X
Tester 1: Rez 3 cubes
Tester 1: Edit each cube and call them, "Groupsell", "Groupshare", and "Notshared"
Tester 1: Take the objects "Groupshare" and "Notshared" back into your inventory.
Tester 1: Find the Object in your Inventory > Objects
Tester 1: Right-click on each and select properties and change the following
Tester 1: For Groupshare, Tick the Share with Group and Tick the Modify and Copy for Next Owner
Tester 1: For Notshared, Tick the Modify and Copy for Next Owner
Tester 1: Close the properties Window after changing the properties.
Tester 1: Select and Edit the object Groupsell and under the general tab change the following
Tester 1: Tick the "Share with Group" Tickbox and Tick the Modify and Copy for Next Owner. Click the "Deed" button, on the pop up window, click "Deed" to confirm.
Tester 1: Verify the "Share with group" checkbox became unticked after the object was deeded.
Tester 1: Tick the "For Sale" Tickbox, Select a price of 0L$ and Set to Sell "Contents"
Tester 1: Click the Contents tab while still editing the Groupsell object and drag the Groupshare and Notshared objects from your Inventory to the objects contents, and Close the edit Window
Tester 2: Verify that you do not have permissions to modify the group objects. ie. You cannot change the name of the Groupsell object or the Groupshare and Notshared objects within the contents.
Tester 2: Right Click on the Groupsell object and Select "Buy" from the Pie Menu
Tester 2: Click "Buy" In the Window to Confirm your purchase
Tester 2: Check your Inventory for a Groupsell Folder and Verify you receive the "Groupshare" and "Notshared" objects
Tester 2: Attempt to drag the "Groupshare" object from the contents of "Groupsell" to your inventory. Verify that "Groupshare" was copied to your inventory. Deselect and reselect the "Groupsell" object and verify the "Groupshare" object is still in the contents.
Tester 2: Attempt to drag the "Notshared" object from the contents of "Groupsell" to your inventory. Verify that you see a no-drag cursor and the object cannot be dragged to your inventory.
[END]
=== notes: Things that need to be tested for Group sell ===
The group member with no Manipulate Ability should not be able to copy a deeded (and unshared) container.
Sharing an object essentially gives group members Manipulate Ability for that object.
Adding a no copy object to the for-sale-copy-container should (A. continue to allow sale of everything bug the no-copy object) or (B. turn off for-sale of that container)?