posit-dev / posit-dev/connectapi

add `content_delete_role` to complement `content_delete_user` and `content_delete_group`

Open
#253 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
54
Forks
27
Avg merge
1d 3m
Merged PRs (30d)
1

Description

The deletion of permissions from content can come from a need to either:

  • remove specific users
  • remove specific groups
  • bulk remove a suite of permissions from content, such as all viewers, or all viewers+collaborators

The first two are covered by existing functions.
content_delete_role(c("viewer", "collaborator", "all")) addresses the latter case

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing content_delete_user and content_delete_group functions in the R package to follow their interface and request behavior. Add the complementary content_delete_role function for viewer, collaborator, or all role values, and verify that it removes the requested permissions from content.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.