secondlife / jira-archive

2 stars 0 forks source link

[BUG-233897] Add a way to find out if a script-owner has estate manager privileges #10922

Open sl-service-account opened 1 year ago

sl-service-account commented 1 year ago

How would you like the feature to work?

Add a constant AGENT_ESTATE_MANAGER to llGetAgentInfo that is TRUE if the agent whose ID gets passed to the function has estate manager privileges for the region the script runs in.

Alternatively, add an object flag OBJECT_ESTATE_MANAGER to llGetObjectDetails.

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

The function llManageEstateAccess fails if the owner of the object the script is running in does not have estate manager privileges. The failed call gets shouted on the debug channel.

If you want to script a graceful degradation from estate-level to parcel-level, you can either accept the shout on the debug channel, and switch to parcel-level access controls, or you can ask the user wether they have estate manager privileges and trust that they answer correctly.

Having a way to find out if the owner of the object the script is in has the necessary privileges would allow for more elegant and less confusing scripts.

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-233897 | | Summary | Add a way to find out if a script-owner has estate manager privileges | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Peter Stindberg (peter.stindberg) | | Created at | 2023-05-19T22:07:51Z | | Updated at | 2023-05-24T18:04:29Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2023-05-24T13:04:29.572-0500', 'How would you like the feature to work?': 'Add a constant AGENT_ESTATE_MANAGER to llGetAgentInfo that is TRUE if the agent whose ID gets passed to the function has estate manager privileges for the region the script runs in.\r\n\r\nAlternatively, add an object flag OBJECT_ESTATE_MANAGER to llGetObjectDetails.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': 'The function llManageEstateAccess fails if the owner of the object the script is running in does not have estate manager privileges. The failed call gets shouted on the debug channel.\r\n\r\nIf you want to script a graceful degradation from estate-level to parcel-level, you can either accept the shout on the debug channel, and switch to parcel-level access controls, or you can ask the user wether they have estate manager privileges and trust that they answer correctly.\r\n\r\nHaving a way to find out if the owner of the object the script is in has the necessary privileges would allow for more elegant and less confusing scripts.', } ```
sl-service-account commented 1 year ago

Peter Stindberg commented at 2023-05-23T19:18:42Z

lol - ChatGPT thinks this exists already :P

sl-service-account commented 1 year ago

Shrike Linden commented at 2023-05-24T18:04:30Z

Issue accepted. We have no estimate when it may be implemented. Please see future release notes for this fix.