Difference between revisions of "Template:LSL Function/permission"
Jump to navigation
Jump to search
m |
m (fixed the irritating and obvious spelling mistakes: "then" when you mean "than", and "loose" when you mean "lose") |
||
Line 4: | Line 4: | ||
* Do not depend upon the auto-grant status of permissions. '''Always''' use the [[run_time_permissions]] event. | * Do not depend upon the auto-grant status of permissions. '''Always''' use the [[run_time_permissions]] event. | ||
* If the script lacks the permission [[{{{1}}}]], the script will shout an error on {{LSL Const|DEBUG_CHANNEL|integer|2147483647|hex=0x7FFFFFFF}} and the operation fails (but the script continues to run).{{#ifeq:{{{grant|anyone<noinclude>*</noinclude>}}}|anyone|| | * If the script lacks the permission [[{{{1}}}]], the script will shout an error on {{LSL Const|DEBUG_CHANNEL|integer|2147483647|hex=0x7FFFFFFF}} and the operation fails (but the script continues to run).{{#ifeq:{{{grant|anyone<noinclude>*</noinclude>}}}|anyone|| | ||
* If [[{{{1}}}]] is granted by anyone other | * If [[{{{1}}}]] is granted by anyone other than {{{grant|anyone}}}, then when the function is called an error will be shouted on {{LSL Const|DEBUG_CHANNEL|integer|2147483647|hex=0x7FFFFFFF}}.}}}} | ||
* Once the [[{{{1}}}]] permission is granted there is no way to revoke it. The script will only | * Once the [[{{{1}}}]] permission is granted there is no way to revoke it. The script will only lose the permission if it is reset or the object derezzed (deleted, detached, or taken).}} | ||
{{#vardefine:also_events|{{#var:also_events}} | {{#vardefine:also_events|{{#var:also_events}} | ||
{{LSL DefineRow||[[run_time_permissions]]|Permission receiving event}}}} | {{LSL DefineRow||[[run_time_permissions]]|Permission receiving event}}}} |
Revision as of 11:10, 12 September 2008
Name | Value | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
header_footnote | ||||||||||||||||
caveats |
| |||||||||||||||
also_events |
| |||||||||||||||
also_functions |
| |||||||||||||||
also_articles |
|