View Issue Details

IDProjectCategoryView StatusLast Update
0000107opensim-SCBugpublic2019-08-22 00:55
Reporteronefang Assigned Toonefang  
PrioritynormalSeveritymajorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version0.9.0.1 RC0 
Target Version0.9.0.1 RC1Fixed in Version0.9.0.1 RC1 
Summary0000107: "osNpcCreate permission denied." yet they get created.
DescriptionI brought my NPC tool into CG, and tried to create some NPCs, got that message, AND they got created anyway.
Tagsscript engine

Activities

onefang

onefang

2019-08-21 23:43

administrator   ~0000173

Hmmm, osNpcCreate should be unrestricted I think, but it wasn't. So why did it work anyway, coz I was HGing in?
onefang

onefang

2019-08-22 00:08

administrator   ~0000174

On sc.bigtest.org (test grid on my desktop) logging on as an ordinary user. onefang gave the NPC tool to ordinary user. onefang@IG is listed as script creator. NPC is rezzed after -

osNpcCreate permission denied. Script creator is not in the list of users allowed to execute this function and prim owner also has no permission.

osslParcelOG = "PARCEL_GROUP_MEMBER,PARCEL_OWNER,"
osslNPC = ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
Allow_osNpcCreate = ${XEngine|osslNPC}

User is not a member of the parcel group, not the parcel owner, not an estate manager, and not the estate owner.

Note that SC is a copy of IG, where onefang is all of the things needed. Though the scripts list onefang@IG, not just onefang, as creator.

For the original bug report, onefang@MG was HGed into CG, and got the same result.
onefang

onefang

2019-08-22 00:31

administrator   ~0000175

CheckThreatLevel() is expected to throw an exception if the threat level is too high, but I had changed things to only print a debug message, to avoid spamming users with useless stack traces. Without the exception, it bitches, but returns to let the function continue.
onefang

onefang

2019-08-22 00:55

administrator   ~0000176

Throw the expected exception.

Issue History

Date Modified Username Field Change
2019-08-17 21:46 onefang New Issue
2019-08-17 21:46 onefang Status new => assigned
2019-08-17 21:46 onefang Assigned To => onefang
2019-08-17 21:46 onefang Tag Attached: script engine
2019-08-21 23:43 onefang Note Added: 0000173
2019-08-22 00:08 onefang Note Added: 0000174
2019-08-22 00:31 onefang Note Added: 0000175
2019-08-22 00:55 onefang Status assigned => resolved
2019-08-22 00:55 onefang Resolution open => fixed
2019-08-22 00:55 onefang Fixed in Version => 0.9.0.1 RC1
2019-08-22 00:55 onefang Note Added: 0000176