leave stupid broken permissions alone

melanie
UbitUmarov 2016-12-18 03:56:53 +00:00
parent 2cf422582a
commit 30cd36ff98
3 changed files with 2 additions and 23 deletions

View File

@ -431,11 +431,9 @@ namespace OpenSim.Region.Framework.Scenes
bool denyExportChange = false; bool denyExportChange = false;
// m_log.DebugFormat("[XXX]: B: {0} O: {1} E: {2}", itemUpd.BasePermissions, itemUpd.CurrentPermissions, itemUpd.EveryOnePermissions); // m_log.DebugFormat("[XXX]: B: {0} O: {1} E: {2}", itemUpd.BasePermissions, itemUpd.CurrentPermissions, itemUpd.EveryOnePermissions);
const uint permALLandExport = (uint)(PermissionMask.All | PermissionMask.Export);
// If the user is not the creator or doesn't have "E" in both "B" and "O", deny setting export // If the user is not the creator or doesn't have "E" in both "B" and "O", deny setting export
if (item.CreatorIdAsUuid != item.Owner && if ((item.BasePermissions & (uint)(PermissionMask.All | PermissionMask.Export)) != (uint)(PermissionMask.All | PermissionMask.Export) || (item.CurrentPermissions & (uint)PermissionMask.Export) == 0 || item.CreatorIdAsUuid != item.Owner)
((item.BasePermissions & permALLandExport) != permALLandExport ||
(item.CurrentPermissions & (uint)PermissionMask.Export) == 0))
denyExportChange = true; denyExportChange = true;
// m_log.DebugFormat("[XXX]: Deny Export Update {0}", denyExportChange); // m_log.DebugFormat("[XXX]: Deny Export Update {0}", denyExportChange);

View File

@ -619,10 +619,6 @@
;; supported by viewers. ;; supported by viewers.
;DestinationGuideURI = "http://127.0.0.1:9000/guide" ;DestinationGuideURI = "http://127.0.0.1:9000/guide"
;# {ExportSupported} {} {Enable export control flag} {true false} false
;; set to true to allow the export control flag of items
; ExportSupported = false
[Chat] [Chat]
;# {whisper_distance} {} {Distance at which a whisper is heard, in meters?} {} 10 ;# {whisper_distance} {} {Distance at which a whisper is heard, in meters?} {} 10

View File

@ -836,21 +836,6 @@
; Capability for searching for people ; Capability for searching for people
Cap_AvatarPickerSearch = "localhost" Cap_AvatarPickerSearch = "localhost"
[SimulatorFeatures]
;# {SearchServerURI} {} {URL of the search server} {}
;; Optional. If given this serves the same purpose as the grid wide
;; [LoginServices] SearchURL setting and will override that where
;; supported by viewers.
;SearchServerURI = "http://127.0.0.1:9000/"
;# {DestinationGuideURI} {} {URL of the destination guide} {}
;; Optional. If given this serves the same purpose as the grid wide
;; [LoginServices] DestinationGuide setting and will override that where
;; supported by viewers.
;DestinationGuideURI = "http://127.0.0.1:9000/guide"
; set to true to allow the export control flag of items
; ExportSupported = false
[Chat] [Chat]
; Controls whether the chat module is enabled. Default is true. ; Controls whether the chat module is enabled. Default is true.