C# Класс OpenSim.Region.CoreModules.World.Permissions.PermissionsModule

Наследование: IRegionModule
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_scene Scene

Открытые методы

Метод Описание
BypassPermissions ( ) : bool
Close ( ) : void
GenerateClientFlags ( UUID user, UUID objID ) : uint
GenericEstatePermission ( UUID user ) : bool
HandleBypassPermissions ( string module, string args ) : void
HandleDebugPermissions ( string module, string args ) : void
HandleForcePermissions ( string module, string args ) : void
Initialise ( Scene scene, IConfigSource config ) : void
PostInitialise ( ) : void
PropagatePermissions ( ) : bool
SetBypassPermissions ( bool value ) : void

Защищенные методы

Метод Описание
DebugPermissionInformation ( string permissionCalled ) : void
GenericCommunicationPermission ( UUID user, UUID target ) : bool
GenericObjectPermission ( UUID currentUser, UUID objId, bool denyOnLocked ) : bool

General permissions checks for any operation involving an object. These supplement more specific checks implemented by callers.

GenericParcelOwnerPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
GenericParcelPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
GenericParcelPermission ( UUID user, Vector3 pos, ulong groupPowers ) : bool
IsAdministrator ( UUID user ) : bool

Is the given user an administrator (in other words, a god)?

IsEstateManager ( UUID user ) : bool
IsFriendWithPerms ( UUID user, UUID objectOwner ) : bool
IsGroupMember ( UUID groupID, UUID userID, ulong powers ) : bool
SendPermissionError ( UUID user, string reason ) : void

Приватные методы

Метод Описание
ApplyObjectModifyMasks ( uint setPermissionMask, uint objectFlagsMask ) : uint
CanAbandonParcel ( UUID user, ILandObject parcel, Scene scene ) : bool
CanBuyLand ( UUID userID, ILandObject parcel, Scene scene ) : bool
CanCompileScript ( UUID ownerUUID, int scriptType, Scene scene ) : bool
CanControlPrimMedia ( UUID agentID, UUID primID, int face ) : bool
CanCopyObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
CanCopyUserInventory ( UUID itemID, UUID userID ) : bool

Check whether the specified user is allowed to copy the given inventory type in their inventory.

CanCreateObjectInventory ( int invType, UUID objectID, UUID userID ) : bool

Check whether the specified user is allowed to directly create the given inventory type in a prim's inventory (e.g. the New Script button in the 1.21 Linden Lab client).

CanCreateUserInventory ( int invType, UUID userID ) : bool

Check whether the specified user is allowed to create the given inventory type in their inventory.

CanDeedObject ( UUID user, UUID group, Scene scene ) : bool
CanDeedParcel ( UUID user, ILandObject parcel, Scene scene ) : bool
CanDeleteObject ( UUID objectID, UUID deleter, Scene scene ) : bool
CanDeleteObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
CanDeleteUserInventory ( UUID itemID, UUID userID ) : bool

Check whether the specified user is allowed to delete the given inventory item from their own inventory.

CanDelinkObject ( UUID userID, UUID objectID ) : bool
CanDuplicateObject ( int objectCount, UUID objectID, UUID owner, Scene scene, System.Vector3 objectPosition ) : bool
CanEditNotecard ( UUID notecard, UUID objectID, UUID user, Scene scene ) : bool

Check whether the specified user can edit the given notecard

CanEditObject ( UUID objectID, UUID editorID, Scene scene ) : bool
CanEditObjectInventory ( UUID objectID, UUID editorID, Scene scene ) : bool
CanEditParcel ( UUID user, ILandObject parcel, Scene scene ) : bool
CanEditScript ( UUID script, UUID objectID, UUID user, Scene scene ) : bool

Check whether the specified user can edit the given script

CanEditUserInventory ( UUID itemID, UUID userID ) : bool

Check whether the specified user is allowed to edit the given inventory item within their own inventory.

CanInstantMessage ( UUID user, UUID target, Scene startScene ) : bool
CanInteractWithPrimMedia ( UUID agentID, UUID primID, int face ) : bool
CanInventoryTransfer ( UUID user, UUID target, Scene startScene ) : bool
CanIssueEstateCommand ( UUID user, Scene requestFromScene, bool ownerCommand ) : bool
CanLinkObject ( UUID userID, UUID objectID ) : bool
CanMoveObject ( UUID objectID, UUID moverID, Scene scene ) : bool
CanObjectEntry ( UUID objectID, bool enteringRegion, Vector3 newPoint, Scene scene ) : bool
CanReclaimParcel ( UUID user, ILandObject parcel, Scene scene ) : bool
CanResetScript ( UUID prim, UUID script, UUID agentID, Scene scene ) : bool
CanReturnObjects ( ILandObject land, UUID user, List objects, Scene scene ) : bool
CanRezObject ( int objectCount, UUID owner, Vector3 objectPosition, Scene scene ) : bool
CanRunConsoleCommand ( UUID user, Scene requestFromScene ) : bool
CanRunScript ( UUID script, UUID objectID, UUID user, Scene scene ) : bool
CanSellParcel ( UUID user, ILandObject parcel, Scene scene ) : bool
CanTakeCopyObject ( UUID objectID, UUID userID, Scene inScene ) : bool
CanTakeObject ( UUID objectID, UUID stealer, Scene scene ) : bool
CanTeleport ( UUID userID, Scene scene ) : bool
CanTerraformLand ( UUID user, Vector3 position, Scene requestFromScene ) : bool
CanViewNotecard ( UUID notecard, UUID objectID, UUID user, Scene scene ) : bool

Check whether the specified user can view the given notecard

CanViewScript ( UUID script, UUID objectID, UUID user, Scene scene ) : bool

Check whether the specified user can view the given script

GenericPrimMediaPermission ( SceneObjectPart part, UUID agentID, MediaPermission perms ) : bool
IsGod ( UUID user, Scene scene ) : bool
ParseUserSetConfigSetting ( IConfig config, string settingName, UserSet defaultValue ) : UserSet

Parse a user set configuration setting

Описание методов

BypassPermissions() публичный Метод

public BypassPermissions ( ) : bool
Результат bool

Close() публичный Метод

public Close ( ) : void
Результат void

DebugPermissionInformation() защищенный Метод

protected DebugPermissionInformation ( string permissionCalled ) : void
permissionCalled string
Результат void

GenerateClientFlags() публичный Метод

public GenerateClientFlags ( UUID user, UUID objID ) : uint
user UUID
objID UUID
Результат uint

GenericCommunicationPermission() защищенный Метод

protected GenericCommunicationPermission ( UUID user, UUID target ) : bool
user UUID
target UUID
Результат bool

GenericEstatePermission() публичный Метод

public GenericEstatePermission ( UUID user ) : bool
user UUID
Результат bool

GenericObjectPermission() защищенный Метод

General permissions checks for any operation involving an object. These supplement more specific checks implemented by callers.
protected GenericObjectPermission ( UUID currentUser, UUID objId, bool denyOnLocked ) : bool
currentUser UUID
objId UUID
denyOnLocked bool
Результат bool

GenericParcelOwnerPermission() защищенный Метод

protected GenericParcelOwnerPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers ulong
Результат bool

GenericParcelPermission() защищенный Метод

protected GenericParcelPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers ulong
Результат bool

GenericParcelPermission() защищенный Метод

protected GenericParcelPermission ( UUID user, Vector3 pos, ulong groupPowers ) : bool
user UUID
pos Vector3
groupPowers ulong
Результат bool

HandleBypassPermissions() публичный Метод

public HandleBypassPermissions ( string module, string args ) : void
module string
args string
Результат void

HandleDebugPermissions() публичный Метод

public HandleDebugPermissions ( string module, string args ) : void
module string
args string
Результат void

HandleForcePermissions() публичный Метод

public HandleForcePermissions ( string module, string args ) : void
module string
args string
Результат void

Initialise() публичный Метод

public Initialise ( Scene scene, IConfigSource config ) : void
scene Scene
config IConfigSource
Результат void

IsAdministrator() защищенный Метод

Is the given user an administrator (in other words, a god)?
protected IsAdministrator ( UUID user ) : bool
user UUID
Результат bool

IsEstateManager() защищенный Метод

protected IsEstateManager ( UUID user ) : bool
user UUID
Результат bool

IsFriendWithPerms() защищенный Метод

protected IsFriendWithPerms ( UUID user, UUID objectOwner ) : bool
user UUID
objectOwner UUID
Результат bool

IsGroupMember() защищенный Метод

protected IsGroupMember ( UUID groupID, UUID userID, ulong powers ) : bool
groupID UUID
userID UUID
powers ulong
Результат bool

PostInitialise() публичный Метод

public PostInitialise ( ) : void
Результат void

PropagatePermissions() публичный Метод

public PropagatePermissions ( ) : bool
Результат bool

SendPermissionError() защищенный Метод

protected SendPermissionError ( UUID user, string reason ) : void
user UUID
reason string
Результат void

SetBypassPermissions() публичный Метод

public SetBypassPermissions ( bool value ) : void
value bool
Результат void

Описание свойств

m_scene защищенное свойство

protected Scene m_scene
Результат Scene