mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Estate owners who are not administrators, even in god mode, should not be
able to edit a real god's objects. Minor tweak.
This commit is contained in:
@@ -460,7 +460,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
// return objectEveryoneMask;
|
||||
|
||||
// Estate users should be able to edit anything in the sim
|
||||
if (IsEstateManager(user) && m_RegionOwnerIsGod)
|
||||
if (IsEstateManager(user) && m_RegionOwnerIsGod && (!IsAdministrator(objectOwner)))
|
||||
return objectOwnerMask;
|
||||
|
||||
// Admin should be able to edit anything in the sim (including admin objects)
|
||||
|
||||
Reference in New Issue
Block a user