mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Reintroduce a check that was dropped from permissions
This commit is contained in:
@@ -618,7 +618,7 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||
return objectOwnerMask;
|
||||
|
||||
// Estate users should be able to edit anything in the sim if RegionOwnerIsGod is set
|
||||
if (IsEstateManager(user) && m_RegionOwnerIsGod)
|
||||
if (m_RegionOwnerIsGod && IsEstateManager(user) && !IsAdministrator(objectOwner))
|
||||
return objectOwnerMask;
|
||||
|
||||
// Admin should be able to edit anything in the sim (including admin objects)
|
||||
|
||||
Reference in New Issue
Block a user