[Opensim-dev] Remove check for IsGod in some OSSL functions
Melanie
melanie at t-data.com
Fri Apr 13 12:56:01 UTC 2012
First, HARD -1 on allowing gods all of OSSL. I run a grid where
certain functions just CANNOT be allowed to run, no way, no how.
There must be a way to achieve that, you can't force the
availability of OSSL for gods on grids.
Also, HARD -1 on changing existing functions, it will break things
in too many ways for established users.
The check for estate managers already allows estate owners.
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs:377
//Only Estate Managers may use the function
if(m_FunctionPerms[function].AllowedOwnerClasses.Contains("ESTATE_MANAGER"))
{
//Only Estate Managers may use the function
if (World.RegionInfo.EstateSettings.IsEstateManager(ownerID) &&
World.RegionInfo.EstateSettings.EstateOwner != ownerID)
{
return;
}
}
A god check _could_ be added in the parcel owner, parcel group,
estate manager and estate owner clauses as it can be assumed that if
anyone is allowed to run the function gods should be allowed to run
it, too. However, if a function is indeed disabled it must be
disabled for gods as well.
Melanie
On 13/04/2012 14:39, Oren Hurvitz wrote:
> Currently CheckThreatLevel() doesn't check for God at all. It should probably
> allow gods to call any function, regardless of its threat level.
>
> There is no other change necessary to OSSL in order to support
> administrators, since there are already permission checks for estate owners
> and managers. (Although, as I've said, the check for estate *managers*
> should allow the estate *owner* as well.)
>
> While we're talking about IsAdministrator(), I want to mention again that
> this method is incorrect: it's identical to IsGod(), since it requires users
> to be Gods. It should be changed so it doesn't require users to be gods
> anymore.
>
> --
> View this message in context: http://opensim-dev.2196679.n2.nabble.com/Remove-check-for-IsGod-in-some-OSSL-functions-tp7462127p7462562.html
> Sent from the opensim-dev mailing list archive at Nabble.com.
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
More information about the Opensim-dev
mailing list