Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-230999] New LSL function. integer llIsFriend(key agent_id); #8550

Open
sl-service-account opened this issue Jul 21, 2021 · 4 comments
Open

Comments

@sl-service-account
Copy link

How would you like the feature to work?

Function: integer llIsFriend(key agent_id)

Tests if the agent identified by agent_id is on the friends list of the owner of the script. Returns TRUE if the agent is a friend, otherwise FALSE. If agent_id does not identify another avatar this function returns false.  One of the two agents must be on the region.

Why is this feature important to you? How would it benefit the community?

There is no way for a script to determine the friendship relationship between an owner and another agent. This would be useful for security orbs and other features.

Original Jira Fields
Field Value
Issue BUG-230999
Summary New LSL function. integer llIsFriend(key agent_id);
Type New Feature Request
Priority Unset
Status Accepted
Resolution Accepted
Reporter Rider Linden (rider.linden)
Created at 2021-07-21T16:18:03Z
Updated at 2021-07-22T14:48:41Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'Date of First Response': '2021-07-21T17:58:12.768-0500',
  'How would you like the feature to work?': 'Function: integer llIsFriend(key agent_id)\r\n\r\nTests if the agent identified by agent_id is on the friends list of the owner of the script. Returns TRUE if the agent is a friend, otherwise FALSE. If agent_id does not identify another avatar this function returns false.',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'Target Viewer Version': 'viewer-development',
  'Why is this feature important to you? How would it benefit the community?': 'There is no way for a script to determine the friendship relationship between an owner and another agent. This would be useful for security orbs and other features. ',
}
@sl-service-account
Copy link
Author

Lucia Nightfire commented at 2021-07-21T22:58:13Z

Is there going to be an explicit, non-auto-granting permission involved to get this information? As it is sensitive information and despite the convenience with the application mentioned, some users will definitely feel it is no business of anyone, whether land owner, estate owner, estate manager, etc. whom their friends are.

I also see unwanted/inconvenient marketing/profiling exploits with access to this information.

@sl-service-account
Copy link
Author

Rider Linden commented at 2021-07-21T23:12:30Z

The function checks for friendship between the owner of the script and another agent.  A third party would not be able to get the friendship relationship between two arbitrary agents. 

@sl-service-account
Copy link
Author

Lucia Nightfire commented at 2021-07-21T23:16:45Z, updated at 2021-07-21T23:17:37Z

That's not what I meant. What if I don't want a script I didn't compile, but might be wearing or have rezzed, checking this information in secret without my explicit permission?

What if I feel that it is no one's business but my own whom my friends are or aren't?

@sl-service-account
Copy link
Author

Rider Linden commented at 2021-07-22T14:48:42Z

I think you're right. A permission grant should be required. 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant