mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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.
This commit is contained in:
@@ -105,9 +105,9 @@ namespace OpenSim.Region.RegionCombinerModule
|
||||
return m_rootScene.Permissions.CanEditObject(objectid, editorid);
|
||||
}
|
||||
|
||||
public bool CanEditParcel(UUID user, ILandObject parcel, Scene scene)
|
||||
public bool CanEditParcelProperties(UUID user, ILandObject parcel, GroupPowers g, Scene scene)
|
||||
{
|
||||
return m_rootScene.Permissions.CanEditParcel(user, parcel);
|
||||
return m_rootScene.Permissions.CanEditParcelProperties(user, parcel, g);
|
||||
}
|
||||
|
||||
public bool CanInstantMessage(UUID user, UUID target, Scene startscene)
|
||||
|
||||
Reference in New Issue
Block a user