esamattis / esamattis/subssh

User names are not validated in git-set-permissions

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When permissions are added to a git repository and the user does not exist, no error is raised. For example:

```
git-set-permissions NON_EXISTING_USER +r REPO
```

And when I ask permission list from that repo:

```
git-info REPO

*clip*

Permissions:
NON_EXISTING_USER = r
```

There should be check for user existence.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.