Skip to content

[FEATURE REQUEST] Sharing NG: Edit existing link #4970

Description

@jesmrec

1. Permission:

libre.graph/driveItem/permissions/update

if available, it shows the pencil icon in the rows

2. Edit Link

Same view as the create, with all the fields with the set values

  • Name (optional) -> Max 255 chars
  • Level of permission (mandatory)
  • Password (not always mandatory, depends on capabilities) -> Apply password policy
  • Expiration date (optional)

3. Submission

3.1 name, permission and expiration date:

PATCH https://<url>/graph/v1beta1/drives/<drive-id>/items/<item-id>/permissions/<link-id>

with body

{
    "link": {
        "type": "edit",
        "@libre.graph.displayName": "Tested it"
    },
    "expirationDateTime": "2026-09-27T10:36:00.000Z"
}

including only the changed fields

3.2 Password

POST https://<url>/graph/v1beta1/drives/<drive-id>/items/<item-id>/permissions/<link-id>/setPassword

with body

{
"password": "<new_pass>"
}

The button to submit with text SAVE

TASKS

  • Research (if needed)
  • Create branch feature/feature_name
  • Development tasks
    • Implement whatever
    • ...
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions