diff options
author | Melanie Thielker | 2017-02-09 23:14:35 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-03-31 14:38:40 +0100 |
commit | 27fdf3094d6bf20325ab261b41d3d4831c14c204 (patch) | |
tree | 3cd5d30c401d7ab447bedaf910f6120b9ba4a43d /OpenSim | |
parent | Squelch an error that happens when the asset cache was mounted RO. (diff) | |
download | opensim-SC-27fdf3094d6bf20325ab261b41d3d4831c14c204.zip opensim-SC-27fdf3094d6bf20325ab261b41d3d4831c14c204.tar.gz opensim-SC-27fdf3094d6bf20325ab261b41d3d4831c14c204.tar.bz2 opensim-SC-27fdf3094d6bf20325ab261b41d3d4831c14c204.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs index b60cd93..86f0a58 100644 --- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs | |||
@@ -1732,6 +1732,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1732 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); | 1732 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); |
1733 | if (m_bypassPermissions) return m_bypassPermissionsValue; | 1733 | if (m_bypassPermissions) return m_bypassPermissionsValue; |
1734 | 1734 | ||
1735 | // A god is a god is a god | ||
1736 | if (IsAdministrator(user)) | ||
1737 | return true; | ||
1738 | |||
1735 | if (objectID == UUID.Zero) // User inventory | 1739 | if (objectID == UUID.Zero) // User inventory |
1736 | { | 1740 | { |
1737 | IInventoryService invService = m_scene.InventoryService; | 1741 | IInventoryService invService = m_scene.InventoryService; |
@@ -1828,6 +1832,10 @@ namespace OpenSim.Region.CoreModules.World.Permissions | |||
1828 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); | 1832 | DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); |
1829 | if (m_bypassPermissions) return m_bypassPermissionsValue; | 1833 | if (m_bypassPermissions) return m_bypassPermissionsValue; |
1830 | 1834 | ||
1835 | // A god is a god is a god | ||
1836 | if (IsAdministrator(user)) | ||
1837 | return true; | ||
1838 | |||
1831 | if (objectID == UUID.Zero) // User inventory | 1839 | if (objectID == UUID.Zero) // User inventory |
1832 | { | 1840 | { |
1833 | IInventoryService invService = m_scene.InventoryService; | 1841 | IInventoryService invService = m_scene.InventoryService; |