Talk:LlGetInventoryPermMask

From Second Life Wiki
Jump to: navigation, search

Clarification

hm... I'm not able to understand either of the two notes so I'm therefor not sure if I translated them well. I'm clueless about note 1 and don't understand the "often" at note 2. Does "often" mean that it's somehow random? *confused*
Zai signature.png Lynch (talk|contribs) 03:50, 23 November 2008 (UTC)

Note 1 is "In effect, the perms for scripts published in this LSL Wiki are PERM_COPY until you log in, then PERM_MODIFY or PERM_COPY."

I think the idea there is that we pass scripts around SecondLife differently in-world and outside. In-world, the author decides what the permissions are, except for people who run clients that don't obey the rules. Out here, the Wiki server enforces the rules. Out here in the Wiki, the rules are that your web browser can copy the script but not edit the script until you log in to the Wiki. While you're logged in, the rules are that you can copy or edit.

Note 2 is "Often the perms of a newly created script are: Base = PERM_ALL, Owner = PERM_ALL, Next = PERM_MOVE or PERM_TRANSFER, Group = 0 (none), Everyone = 0 (none). Often these perms are the same, no matter if you create the script in inventory or in an object."

I think the idea there is that experimenting with SecondLife frequently produces a consistent result in which the perms of a newly created script are exactly as listed. Experiments with creating the new script in inventory yield the same result as experiments with creating the new script in an object. Whether this behaviour is specified somewhere or not remains an open question.

The history of this Wiki would tell us who wrote these notes. Might have been me on either or both or neither, I don't clearly remember.

Ppaatt Lynagh 16:08, 23 November 2008 (UTC)

Ah I see... I think that note 1 is missleading. The analogy is causing more confusion than enlightenment. Note 2 however should be kept and rephrased. "Often" implies that there are cases when the result differs from the one which is described. It should be something like "The permissions for a newly created script seem to always be: .... " or so.
Zai signature.png Lynch (talk|contribs) 17:30, 23 November 2008 (UTC)
I'm so glad I didn't write either of those, they really are not good. I've tweaked both, "Often" is vague, it shouldn't be used unless we take the time to clarify the limitations (and I honestly can't think of a situation where those limitations come up). -- Strife (talk|contribs) 04:43, 24 November 2008 (UTC)
Thx, makes more sense that way. Though there is still an "or" confusing me. depending on what? Zai signature.png Lynch (talk|contribs) 19:09, 24 November 2008 (UTC)