OpenSimulator:Permissions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(EveryoneMask (E))
(NextOwnerMask (N))
Line 27: Line 27:
 
= NextOwnerMask (N) =  
 
= NextOwnerMask (N) =  
 
Default: OBJNEXT_OWNER;
 
Default: OBJNEXT_OWNER;
 +
 +
These are the permissions that the owner sets with the Modify Copy and Transfer checkboxes.  These permissions become the BaseMask and the OwnerMask when the object is transferred.
  
 
= ObjectFlags (F) =
 
= ObjectFlags (F) =

Revision as of 07:59, 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;

These are the permissions that the general public has on the object. This consists of 'Anyone can Move' 'Anyone can Copy' permissions.

This *used* to also contain functionality for 'public' objects in Linden Lab's SecondLife, but this functionality had been removed from the simulator later.

NextOwnerMask (N)

Default: OBJNEXT_OWNER;

These are the permissions that the owner sets with the Modify Copy and Transfer checkboxes. These permissions become the BaseMask and the OwnerMask when the object is transferred.

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'.

Personal tools
General
About This Wiki