Difference between revisions of "Template:LSL Constants Perm Mask"

From Second Life Wiki
Jump to navigation Jump to search
(Apparently these flags had different means for parcels and objects, The comments in the view source indicate such but the comments aren't very good.)
 
(4 intermediate revisions by one other user not shown)
Line 4: Line 4:
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;}}
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! title="Mask" {{!}} Mask
! title="Mask" {{!}} {{LSLP|category|Category}}
! title="Value" {{!}}
! title="Value" {{!}}
! class="unsortable" {{!}} Description
! class="unsortable" {{!}} Description
Line 27: Line 27:
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} {{LSL_Const|MASK_COMBINED|integer|16|c=Include object inventory contents when calculating perms.}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}<br>
Combine with other mask flags, for instance MASK_OWNER|MASK_COMBINED
{{!}}}
{{!}}}
{{!}}
{{!}}
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;}}
{{LSL Constants/Perm Flags|all={{{all|<noinclude>*</noinclude>}}}}}
{{!}}-{{Hl2}}
! title="Permissions" {{!}} Permissions
! title="Value" {{!}} Value
!  class="unsortable" {{!}} Description
{{!}}-
{{!}} {{LSL_Const|PERM_ALL|integer|hex=0x7FFFFFFF|c=Move/Modify/Copy/Transfer permissions}}
{{!}} style="font-family:monospace;font-size:124%" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} {{LSL_Const|PERM_COPY|integer|hex=0x00008000|c=Copy permission}}
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} {{LSL_Const|PERM_MODIFY|integer|hex=0x00004000|c=Modify permission}}
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} {{LSL_Const|PERM_MOVE|integer|hex=0x00080000|c=Move permission}}
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} {{LSL_Const|PERM_TRANSFER|integer|hex=0x00002000|c=Transfer permission}}
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}- {{#if:{{{all|}}}<noinclude>*</noinclude>|
{{!}}-
{{!}} <s>{{LSL_Const|PERM_ENTER|integer|hex=0x00010000|c=[Deprecated] parcels, allow entry|nolink=*}}</s>
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} <s>{{LSL_Const|PERM_TERRAFORM|integer|hex=0x00020000|c=[Deprecated] parcels, allow terraform|nolink=*}}</s>
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} <s>{{LSL_Const|PERM_OWNER_DEBIT|integer|hex=0x00040000|c=[Deprecated] object, can debit money|nolink=*}}</s>
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
{{!}} <s>{{LSL_Const|PERM_DAMAGE |integer|hex=0x00100000|c=[Deprecated] parcels, avatars take damage|nolink=*}}</s>
{{!}} style="font-family:monospace;font-size:124%;" {{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}}-
}}
{{!}}-
{{!}}}
{{!}}}
{{!}}}

Latest revision as of 14:17, 12 December 2024

Category Description
MASK_BASE 0 The base permissions.
MASK_OWNER 1 Current owner permissions.
MASK_GROUP 2 Active group permissions.
MASK_EVERYONE 3 Permissions everyone has.
MASK_NEXT 4 Permissions the next owner will have.
MASK_COMBINED 16 Include object inventory contents when calculating perms.

Combine with other mask flags, for instance MASK_OWNER|MASK_COMBINED

Permissions Value Description
PERM_ALL 0x7FFFFFFF Move/Modify/Copy/Transfer permissions
PERM_COPY 0x00008000 Copy permission
PERM_MODIFY 0x00004000 Modify permission
PERM_MOVE 0x00080000 Move permission
PERM_TRANSFER 0x00002000 Transfer permission
PERM_ENTER 0x00010000 [Deprecated] parcels, allow entry
PERM_TERRAFORM 0x00020000 [Deprecated] parcels, allow terraform
PERM_OWNER_DEBIT 0x00040000 [Deprecated] object, can debit money
PERM_DAMAGE 0x00100000 [Deprecated] parcels, avatars take damage