Any such checks should use Scene.Permissions.IsAdministrator() which will return true is the UUID given is of the estate owner, an estate manager or a god.
Melanie On 13/04/2012 12:36, Oren Hurvitz wrote: > While I'm on the subject of OSSL permissions, here's one more suggestion: if > an OSSL function's Allowed setting is set to "ESTATE_MANAGER" then all the > estate managers *except* for the owner are allowed to call that function. I > think that isn't what users expect: since the list of estate managers always > contains the estate owner, if I specify permission level ESTATE_MANAGER then > I expect that the owner would also be able to call the function. > > See CheckThreatLevel() in OSSL_Api.cs. > > -- > View this message in context: > http://opensim-dev.2196679.n2.nabble.com/Remove-check-for-IsGod-in-some-OSSL-functions-tp7462127p7462243.html > Sent from the opensim-dev mailing list archive at Nabble.com. > _______________________________________________ > Opensim-dev mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/opensim-dev > > _______________________________________________ Opensim-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-dev
