diff options
author | Melanie | 2010-12-13 20:19:52 +0100 |
---|---|---|
committer | Melanie | 2010-12-13 20:19:52 +0100 |
commit | 6b374fa54767a22c1d236470c8a19ee59b44d937 (patch) | |
tree | 489eb8847b445bd652b89683c55e3545fc7c6ad8 /OpenSim/Region/ClientStack | |
parent | Change some lookups in he Land Management module to make group permissions (diff) | |
download | opensim-SC_OLD-6b374fa54767a22c1d236470c8a19ee59b44d937.zip opensim-SC_OLD-6b374fa54767a22c1d236470c8a19ee59b44d937.tar.gz opensim-SC_OLD-6b374fa54767a22c1d236470c8a19ee59b44d937.tar.bz2 opensim-SC_OLD-6b374fa54767a22c1d236470c8a19ee59b44d937.tar.xz |
Revamp the viewer -> banlist packet processing so fix a number of bugs.
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties
method that takes a GroupPowers argument to specify what action is to be
taken. Also, make the method to set parcel data much more granular. Permissions
in a deeded setting should now work.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 246aaf0..612c0d9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -8298,7 +8298,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8298 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); | 8298 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); |
8299 | entry.AgentID = block.ID; | 8299 | entry.AgentID = block.ID; |
8300 | entry.Flags = (AccessList)block.Flags; | 8300 | entry.Flags = (AccessList)block.Flags; |
8301 | entry.Time = new DateTime(); | 8301 | entry.Time = Util.ToDateTime(block.Time); |
8302 | entries.Add(entry); | 8302 | entries.Add(entry); |
8303 | } | 8303 | } |
8304 | 8304 | ||
@@ -8306,8 +8306,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8306 | if (handlerParcelAccessListUpdateRequest != null) | 8306 | if (handlerParcelAccessListUpdateRequest != null) |
8307 | { | 8307 | { |
8308 | handlerParcelAccessListUpdateRequest(updatePacket.AgentData.AgentID, | 8308 | handlerParcelAccessListUpdateRequest(updatePacket.AgentData.AgentID, |
8309 | updatePacket.AgentData.SessionID, updatePacket.Data.Flags, | 8309 | updatePacket.Data.Flags, |
8310 | updatePacket.Data.LocalID, entries, this); | 8310 | updatePacket.Data.LocalID, |
8311 | updatePacket.Data.TransactionID, | ||
8312 | updatePacket.Data.SequenceID, | ||
8313 | updatePacket.Data.Sections, | ||
8314 | entries, this); | ||
8311 | } | 8315 | } |
8312 | return true; | 8316 | return true; |
8313 | } | 8317 | } |