Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How long do permissions last for?

Front Dawes
Registered User
Join date: 28 Oct 2007
Posts: 76
06-03-2008 07:27
Hi,

I have been working on a animation script, and while looking at llRequestPermission with (PERMISSION_TRIGGER_ANIMATION), I can find no information on how long the permission granted lasts for.

I can also not find any list of actions that the agent who gave the permission can take to rescind that permission, for example: Tools / Stop all Animations; Logging off and on again?; Muting the agent owning the script that you granted permission to?; Muting the Object containing the script; etc.

All advice gratefully received.

Front
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
06-03-2008 07:48
Permissions are stored by the script that received them, and last forever (or until the script in question is reset); to my knowledge there's no way for the avatar who has (implicitly or explicitly) granted permission to then revoke them down the line.

Vote to have this fixed here: http://jira.secondlife.com/browse/VWR-2326
_____________________
Designer of sensual, tasteful couple's animations - for residents who take their leisure time seriously. ;)

http://slurl.com/secondlife/Brownlee/203/110/109/

Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
06-03-2008 07:57
From: Anti Antonelli
Permissions are stored by the script that received them, and last forever (or until the script in question is reset)

...Or until permissions are requested again by the same script.
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
06-03-2008 19:56
It depends on the permission.

Animation permissions persist until the agent leaves the sim.

Control and camera permissions persist until you stand up/detach/release controls, or leave the sim.

The others I don't use as often and cannot say specifically.

Also, permissions are stored by the sim.
_____________________
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
06-04-2008 00:29
Hmm I tested being animated across a sim border some time ago, perhaps it was an anomaly that it worked. Sorry for the bad information.
_____________________
Designer of sensual, tasteful couple's animations - for residents who take their leisure time seriously. ;)

http://slurl.com/secondlife/Brownlee/203/110/109/

Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
06-04-2008 00:49
There is a way to revoke permissions, the message is called RevokePermissions ()
Just tested to make sure it still works. Why it's not implemented in the LL viewer and their dialog even goes so far as to warn that you "can't revoke this," is beyond me
_____________________
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
06-04-2008 04:56
From: Anti Antonelli
Hmm I tested being animated across a sim border some time ago, perhaps it was an anomaly that it worked. Sorry for the bad information.

Yes, it still keeps permissions like that because you're still a child agent in the first sim.
_____________________
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
06-04-2008 05:12
From: Tyken Hightower
It depends on the permission.

Animation permissions persist until the agent leaves the sim.

Control and camera permissions persist until you stand up/detach/release controls, or leave the sim.

The others I don't use as often and cannot say specifically.

Also, permissions are stored by the sim.


Ohhh animation permissions last forever! I still have an object where I've collected a bunch of friends' animation permissions {:
_____________________
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
06-04-2008 10:00
From: Tyken Hightower
It depends on the permission.

Animation permissions persist until the agent leaves the sim.


Relogging in doesn't affect animation permissions, so I'd be surprised if this were true.

I believe animation permissions remain, but attempts to use them have no effect when the agent is outside the sim (and not close to the border on a neighboring sim). I suspect that if the agent returns, the permissions would still apply.
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
06-04-2008 10:02
From: Day Oh
There is a way to revoke permissions, the message is called RevokePermissions ()
Just tested to make sure it still works. Why it's not implemented in the LL viewer and their dialog even goes so far as to warn that you "can't revoke this," is beyond me


Where would this message be sent?
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
06-04-2008 14:44
From: Lear Cale
Where would this message be sent?


The current simulator. Right, it's not helpful if you granted PERMISSION_DEBIT to something and it moves to another region, even if the viewer were to keep a list of the UUID's of the most recent objects you granted permissions to (which is pretty much the only parameter required for it). For PERMISSION_TRIGGER_ANIMATION I see the ability to right-click something and revoke permissions being potentially useful though
_____________________
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
06-05-2008 05:36
From: Day Oh
The current simulator. Right, it's not helpful if you granted PERMISSION_DEBIT to something and it moves to another region, even if the viewer were to keep a list of the UUID's of the most recent objects you granted permissions to (which is pretty much the only parameter required for it). For PERMISSION_TRIGGER_ANIMATION I see the ability to right-click something and revoke permissions being potentially useful though


For right-clicking an object to revoke permissions from any scripts in that object, fine. However, that's not the JIRA entry suggestion, and I don't see that as helping the real problem (objects that take debit permissions and then vanish).

For the JIRA entry suggestion, I think the only way to do it is to add a list to keep for the agent of all permissions granted, checking that list each time permissions are used, and if it's missing from the list, denying the action (e.g., debit) and sending the script a runtime permissions event. I suspect there could be a notable performance impact adding this for each script debit. But I do hope that LL can work out the details. My point is that it might seem trivial, but it's not nearly so simple.
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
06-05-2008 06:25
From: Lear Cale
For right-clicking an object to revoke permissions from any scripts in that object, fine. However, that's not the JIRA entry suggestion, and I don't see that as helping the real problem (objects that take debit permissions and then vanish).

For the JIRA entry suggestion, I think the only way to do it is to add a list to keep for the agent of all permissions granted, checking that list each time permissions are used, and if it's missing from the list, denying the action (e.g., debit) and sending the script a runtime permissions event. I suspect there could be a notable performance impact adding this for each script debit. But I do hope that LL can work out the details. My point is that it might seem trivial, but it's not nearly so simple.


JIRA entry? :D

Nah, I understand, I just thought we were talking about anim permissions and I missed the bit about the JIRA issue. RevokePermissions, btw, is what's already implemented (no other related functionality as far as I know)
_____________________
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
06-05-2008 08:02
How about a link the the webpage transactions page from a payment that will revoke permissions for the object that made the payment, if applicable.
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
06-05-2008 11:00
oops, sorry, mixing threads! Both Jira entries are about a tools menu option, but somehow I got debit mixed up in this thread.

http://jira.secondlife.com/browse/VWR-2326 - revoke animate permissions

http://jira.secondlife.com/browse/VWR-1750 - revoke debit permissions

Interesting idea, Hewee. :)
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
06-06-2008 02:46
From: Day Oh
Ohhh animation permissions last forever! I still have an object where I've collected a bunch of friends' animation permissions {:

o_o remind me never to grant you animation permissions!
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
06-06-2008 12:01
From: Strife Onizuka
o_o remind me never to grant you animation permissions!


Aw, all I really use them for is to stop people from idling out :D
_____________________
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
06-06-2008 13:02
Ah ha! Is that *YOU* who keeps making me stick my head up my ass?

... oh, no, that's just my personality. Never mind! :D