aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Permissions.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs b/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs
index e045c43..8f32b03 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Permissions.cs
@@ -404,6 +404,20 @@ namespace OpenSim.Region.Framework.Scenes
404 404
405 #endregion 405 #endregion
406 406
407 #region persence EDIT or MOVE OBJECT
408 private const uint CANSELECTMASK = (uint)(
409 PrimFlags.ObjectMove |
410 PrimFlags.ObjectModify |
411 PrimFlags.ObjectOwnerModify
412 );
413
414 public bool CanChangeSelectedState(UUID objectID, ScenePresence sp)
415 {
416 uint perms = GenerateClientFlags(sp , objectID);
417 return (perms & CANSELECTMASK) != 0;
418 }
419
420 #endregion
407 #region EDIT OBJECT 421 #region EDIT OBJECT
408 public bool CanEditObject(UUID objectID, UUID editorID) 422 public bool CanEditObject(UUID objectID, UUID editorID)
409 { 423 {