[Opensim-dev] Adding scripts to SceneObjectPart

Teravus Ovares teravus at gmail.com
Tue Mar 31 20:03:36 UTC 2009


And there you have the answer Daniel.   Send client your avatar's UUID
as the owner for that script, if you want to be able to read the
script.   At least for now, this'll work.

Sincerely

Teravus

On 3/31/09, Melanie <melanie at t-data.com> wrote:
> There was a hack like that, done for IBM at one time. After IBM were
> done with that, it was removed in a code cleanup.
> Right clicking a script will not give you an "open" menu entry
> unless you're the owner.
> The hack was to fudge the owner inside the task inventory file to
> make the person clicking it to appear to be owner.
>
> Melanie
>
> Teravus Ovares wrote:
> > It seems kind of strange for you to say this because it has, in the
> > past allowed anyone to see the script and change it.   This is purely
> > a permissions module thing.   The evidence contradicts what you're
> > saying.
> >
> > Sincerely
> >
> > Teravus
> >
> > On 3/31/09, Melanie <melanie at t-data.com> wrote:
> >> I'm sorry to contradict you. That is a viewer limitation. It would
> >> take wuite extensive changes to core to be able to fake it to the
> >> viewer to make every authorized user seem the owner to the viewer.
> >> It just won't show the option unless you are owner...
> >>
> >> Melanie
> >>
> >> Teravus Ovares wrote:
> >> > I think what Melanie means is, it isn't possible without tweaking the
> >> > permissions module.    This is OpenSource :).    There isn't really a
> >> > 'can't'.
> >> >
> >> > Sincerely
> >> >
> >> > Teravus
> >> >
> >> > On 3/30/09, Melanie <melanie at t-data.com> wrote:
> >> >> Only the owner can view script source. Making a script viewable for
> >> >> anyone is not possible. I believe you need to use either 00038000 or
> >> >> 0001c000 to get full perms.
> >> >>
> >> >> Melanie
> >> >>
> >> >> Mike Mazur wrote:
> >> >> > Hi,
> >> >> >
> >> >> > On Mon, Mar 30, 2009 at 11:10 PM, Daniel Herzog <dhe at mms-dresden.de> wrote:
> >> >> >> In addition to the method ‘AddTouchScript()’ in the ExtSim module what might
> >> >> >> be possible values that could be assigned to “taskItem.BasePermissions” and
> >> >> >> “taskItem.CurrentPermissions” (line 500 and line 501 in ExtSim.cs)?
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> Does 2147483647 stands for ‘not allowed’?
> >> >> >
> >> >> > Unfortunately I was unable to find a value for any permissions
> >> >> > property which allowed viewing of the script source for any script
> >> >> > inserted into a prim in this way. If you do figure out how to do this,
> >> >> > please let me know ;)
> >> >> >
> >> >> > Thanks,
> >> >> > Mike
> >> >> > _______________________________________________
> >> >> > Opensim-dev mailing list
> >> >> > Opensim-dev at lists.berlios.de
> >> >> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> >> >> >
> >> >> >
> >> >>
> >> >> _______________________________________________
> >> >> Opensim-dev mailing list
> >> >> Opensim-dev at lists.berlios.de
> >> >> https://lists.berlios.de/mailman/listinfo/opensim-dev
> >> >>
> >> > _______________________________________________
> >> > Opensim-dev mailing list
> >> > Opensim-dev at lists.berlios.de
> >> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> >> >
> >> >
> >>
> >> _______________________________________________
> >> Opensim-dev mailing list
> >> Opensim-dev at lists.berlios.de
> >> https://lists.berlios.de/mailman/listinfo/opensim-dev
> >>
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
> >
> >
>
> _______________________________________________
> 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