Make return object actually use the return object permissions
parent
5aa10a8ab1
commit
e46719e8f1
|
@ -2255,7 +2255,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
folderID = userInfo.RootFolder.ID;
|
||||
}
|
||||
permissionToDelete = ExternalChecks.ExternalChecksCanDeleteObject(returnobjects[i].UUID, AgentId);
|
||||
permissionToDelete = ExternalChecks.ExternalChecksCanReturnObject(returnobjects[i].UUID, AgentId);
|
||||
|
||||
// If the user doesn't have permission, go on to the next one.
|
||||
if (!permissionToDelete)
|
||||
|
|
Loading…
Reference in New Issue