mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
fix right to change permissions of group owned objects
This commit is contained in:
@@ -4460,8 +4460,11 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
|
||||
if (god)
|
||||
baseMask = 0x7ffffff0;
|
||||
|
||||
// Are we the owner?
|
||||
if ((AgentID == OwnerID) || god)
|
||||
bool canChange = (AgentID == OwnerID) || god;
|
||||
if(!canChange)
|
||||
canChange = ParentGroup.Scene.Permissions.CanEditObjectPermissions(ParentGroup, AgentID);
|
||||
|
||||
if (canChange)
|
||||
{
|
||||
switch (field)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user