Open NiklasBuchfink opened 3 months ago
@jan.johannes I created some cases with a second test user:
In any case, the user can click on add permissions and select the organization to request permissions from the owner (if he is not the owner).
The important thing here is that we should detect, if the user and app have sufficient permissions to push or if user is able to update the permissions of the app in the organization. This way we can prompt the user before making changes that might be lost.
Scenario: User (Collaborator with push permissions) wants to contribute to a public repo. Here I see two common issues:
https://github.com/apps/inlang-dev2/installations/new/permissions?target_id={target_id}
instead of "https://github.com/apps/inlang-dev2/installations/select_target"I am also struggling with this issue.
I am trying on a private repo inside an organization. I am the owner of the organization. I have verified that inlang has access to the repo that I am trying to push to. I also tried to manually include myself on that specific repo. There are no special rules on any branched preventing commits or PRs. (I've tried selecting a branch which is not main as well).
I can open the repo and edit just fine. When I click push, I get the success toast on the bottom of the screen. But there aren't any new PRs on the repo
@fabiopk why do you expect to get a pr when you press "push"? this will directly push your changes to the branch.
Context
Users have trouble with pushing because Fink isn't aware of
Therefore the lix API was extend by:
Proposal
by Jan https://github.com/opral/monorepo/pull/2897#issuecomment-2152810158:
---