OpenSimulator:Permissions
From OpenSimulator
(→BaseMask (B)) |
(→OwnerMask (O)) |
||
Line 12: | Line 12: | ||
= OwnerMask (O) = | = OwnerMask (O) = | ||
Default: PermissionMask.All | Default: PermissionMask.All | ||
+ | |||
+ | These are the current owner's permissions on the object. | ||
= GroupMask (G) = | = GroupMask (G) = |
Revision as of 06:55, 18 January 2008
In the client, if you enable "Client | Debug Permissions" you will see the object permissions on the "General" tab on edit object.
This is how they relate to the permission masks that can be set on a SceneObjectPart:
Contents |
BaseMask (B)
Default: FULL_MASK_PERMISSIONS_OWNER
This represents the highest amount of permissions a user can have on the object as owner.
If the previous owner specified that the next owner couldn't transfer the object. On Transfer, the basemask will now be minus transfer permissions. This locks the next owner from being able to add transfer permissions back to an object that someone gave them and specified that nobody could give it away.
OwnerMask (O)
Default: PermissionMask.All
These are the current owner's permissions on the object.
GroupMask (G)
Default: PermissionMask.None;
EveryoneMask (E)
Default: PermissionMask.None;
NextOwnerMask (N)
Default: OBJNEXT_OWNER;
ObjectFlags (F)
(Not a Permission, but applies to permissions because it affects the client's experience of what they can do with an object) Ultimately, client side handling of permissions boils down to the F flags. These get mixed and matched based on the above permissions flags.
Default: LLObject.ObjectFlags.None (0)
BOGEN permissions are V : Move M : Modify C : Copy T : Transfer
The F flags are a bit different; they represent the 'actual' or 'calculated' permissions that are set for the object, basically, this are the 'real' permissions. Although they show as VMCT they come from a different bit field, with the bits in other positions.
The Server ORs the permission flags together, then OR the relevant permission flags into the corresponding ObjectFlags bits(for now).
Apart from the permission flags, ObjectFlags also have flags like 'Physics', 'Phantom' and 'Touch'.
If 'Move' is off, and 'Modify' is on, the object is 'Locked'.