ConfigHubPub / ConfigHubPub/ConfigHubPlatform

Unable to clone file with read-only permissions

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
80
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I am unable to copy a file with read-only permissions so I can modify it under a different context. It appears the the "clone" button only shows up when the "update file" button does.

My current work-around is to copy the contents of the read-only file, then create a new file with the same file name for my desired context and paste the contents into that, which is a little cumbersome and error-prone if you mistype the file name.

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 reproducing the issue with a read-only file and compare when the "clone" and "update file" buttons appear. Trace the file action entry point in the JavaScript application; done means a read-only file can be cloned into a new file and the existing filename and content workflow is no longer required.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.