Estate owners who are not administrators, even in god mode, should not be
able to edit a real god's objects. Minor tweak.0.6.5-rc1
parent
e901c8be17
commit
c7fd036b35
|
@ -460,7 +460,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||||
// return objectEveryoneMask;
|
// return objectEveryoneMask;
|
||||||
|
|
||||||
// Estate users should be able to edit anything in the sim
|
// 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;
|
return objectOwnerMask;
|
||||||
|
|
||||||
// Admin should be able to edit anything in the sim (including admin objects)
|
// Admin should be able to edit anything in the sim (including admin objects)
|
||||||
|
|
Loading…
Reference in New Issue