Small permissions tweak
parent
36c8d55827
commit
b4d1cf0009
|
@ -576,9 +576,12 @@ namespace OpenSim.Region.CoreModules.World.Permissions
|
||||||
return objectOwnerMask;
|
return objectOwnerMask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((objectOwnerMask & PermissionMask.Transfer != 0) && task.saleType != 0)
|
||||||
|
objectEveryoneMask |= ObjectFlags.ObjectTransfer;
|
||||||
|
|
||||||
// Group permissions
|
// Group permissions
|
||||||
if ((task.GroupID != UUID.Zero) && IsGroupMember(task.GroupID, user, 0))
|
if ((task.GroupID != UUID.Zero) && IsGroupMember(task.GroupID, user, 0))
|
||||||
return objectGroupMask;
|
return objectGroupMask | objectEveryoneMask;
|
||||||
|
|
||||||
return objectEveryoneMask;
|
return objectEveryoneMask;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue