Poppet McGimsie
Proprietrix, WUNDERBAR
Join date: 28 Jul 2006
Posts: 197
|
10-25-2006 13:31
Some really odd things are happening to permissions! One issue that a number of people are reporting have to do with permissions changing when an objects is moved from world to inventory or vice versa, or transferred from one avatar to another. Here are a couple of threads I found reporting this behavior (including one I started): /111/9a/145369/1.html/327/cc/144560/1.html/139/8a/143274/1.htmland others I'm sure! To further confuse things: when I look in the knowledge base for information about setting permissions I get this: http://secondlife.com/knowledgebase/article.php?id=171: From: someone If the the object is inworld (rezzed), right-click it and choose Edit, then navigate to the General tab. If the object is in your inventory, right-click it and choose Properties. and yet on a Linden blog from August, http://blog.secondlife.com/2006/08/14/when-an-exploit-isnt-an-exploit/#more-207, we see From: someone The short of it: never change permissions on an object in your inventory. This flags the object for resave or “permissions slam” on rez, causing the object to still have the same permissions it had when last taken into inventory — even after the object is sold or transferred to someone else. This is a long-standing issue that I’ve been told “isn’t trivial to fix”. I’ll keep on the developers about it, though! For now if you absolutely have to modify next-owner permissions in inventory, rez the object and take it again to save the changes. Thanks so much for your attention to this issue! ~ Poppet
|
Kelly Linden
Linden Developer
Join date: 29 Mar 2004
Posts: 896
|
10-25-2006 16:27
I looked at the threads you linked, some are even to threads I have posted in before. I could do better if I knew the specific case you are experiencing, in as much detail as possible. Permissions are complicated and as such there are many potential points of confusion, bugs and different questions - all with different answers. I will give a synopsis of how permissions work through item transfers. This is not a perfect system, but it is also not on the docket to be changed in the foreseeable future. Seller creates an object in world and sets Next Owner to +M -C +T (yes modify, no copy, yes transfer). These are 'baked' into the Asset when the object is taken into inventory. Seller takes the item into inventory, opens its property box and sees that the Next Owner permissions are +M -C +T still. This is because the Inventory Item has its permissions bits set based on the Asset when it is taken. (It is important to note that an Inventory Item is a link with some meta information to an actual Asset. An Inventory Item is NOT an Asset) Seller changes the permissions on the Inventory Item to -M -C +T. NOTE: This doesn't change any permissions on the Asset! Only on the inventory item. Seller gives the item to Buyer. Buyer looks at the permissions of the Inventory Item and sees Current Owner permissions of -M -C +T. Also Next Owner permissions are not enabled. Buyer rezes the item, and notes the object has Current Owner permissions of -M -C +T. Yay! That is correct! Everyone is happy! This works because when Buyer rezes the object the Next Owner permissions from the Inventory Item get applied to the object, if the owner has changed. Now for the 'weird' cases: Seller gives another copy to Buyer. This time Buyer gives the item back to Seller without rezing it. Seller rezes the item and ... it is full permissions! This happens because the owner didn't change since the last rez, so Next Owner permissions are not applied when it is rezed. There have been bugs before in this area, but what I explained above is the expected behavior. Other notes: An item in the contents of an object is an Inventory Item, not the actual asset. Which means Agent -> Agent -> Vendor will never 'bake' the Next Owner permissions into the object. Which can result in weirdness if the owner buys from that vendor. If you have a specific bug case, preferably with all the exact steps from creation to weirdness, in as simple a case that still causes the issue, please let us know. The best place for this kind of information is Report Bug in the Help menu in world. Also, most interested in actual cases you experience and can reproduce. "I heard x" or "Everyone is having y" just doesn't help us track down the actual problem to fix.
_____________________
- Kelly Linden
|