jcabi / jcabi/jcabi-github

Implement check for Organization membership

Open
#1,247 4 comments 0 reactions 0 assignees View on GitHub
bug DEV
Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

There are more methods of checking members of an organizations, especially checking public memberships, which we already have implemented.

However, there is [this](https://developer.github.com/v3/orgs/members/#get-organization-membership) method which we haven't implemented and is quite useful.

Basically, if the logged in user is a member of that organization, he can check another member's type of membership regardless if that member has publicized it or not.

It could be something like `Organization.membership(String memberLogin):Membership`, and `Membership` interface would describe the json returned by the above mentioned endpoint.

**Important**
If implemented, it should be thoroughly documented, so that no one mistakes it for the public membership endpoints.

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.