A god is a god is a god. Let gods access scripts and NCs

Support staff are not of much help if they can't see the script a user
has issues with.
melanie
Melanie Thielker 2017-02-09 23:14:35 +00:00
parent caaf9f7fc1
commit 27fdf3094d
1 changed files with 8 additions and 0 deletions

View File

@ -1732,6 +1732,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
if (m_bypassPermissions) return m_bypassPermissionsValue;
// A god is a god is a god
if (IsAdministrator(user))
return true;
if (objectID == UUID.Zero) // User inventory
{
IInventoryService invService = m_scene.InventoryService;
@ -1828,6 +1832,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
if (m_bypassPermissions) return m_bypassPermissionsValue;
// A god is a god is a god
if (IsAdministrator(user))
return true;
if (objectID == UUID.Zero) // User inventory
{
IInventoryService invService = m_scene.InventoryService;