[Opensim-dev] Remove check for IsGod in some OSSL functions

Oren Hurvitz orenh at kitely.com
Fri Apr 13 09:55:41 UTC 2012


Hi,

There are 3 OSSL functions that only work if the requester is a God: 
* osSetRegionWaterHeight
* osSetRegionSunSettings
* osSetEstateSunSettings

I believe these checks should be removed, since estate managers should be
able to call these functions. OpenSim now allows specifying that only estate
managers can call some functions, so there's no reason to place these
permission checks in code.

In addition, these functions should probably be changed from thread level
Nuisance to High (the same as osSetTerrainHeight).


By the way: PermissionsModule has two methods, IsGod() and
IsAdministrator(), that are effectively identical because IsGod() calls
IsAdministrator(). So why do we use two different terms for the same user
level?


Oren


--
View this message in context: http://opensim-dev.2196679.n2.nabble.com/Remove-check-for-IsGod-in-some-OSSL-functions-tp7462127p7462127.html
Sent from the opensim-dev mailing list archive at Nabble.com.



More information about the Opensim-dev mailing list