chef / chef/chef-server

Groups and Group Membership information in oc-id

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

Nobody has claimed this yet.

Component: oc-id Status: To be prioritized Triage: Confirmed Type: Enhancement
Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

In chef/oc-id#36, @leftathome said:

Consider this scenario:

Of all the users who are supposed to have access to Organization A, I only want a subgroup of them to be able to upload cookbooks.

I install Supermarket. I'd like that same subgroup of people to be able to manage a set of cookbooks owned by an Organization in Supermarket.

Currently, I would create a Group (within an Organization) on the Chef Server, add users into that group and set the appropriate ACLs on the Group. Then I'd have to go to Supermarket, where there is no equivalent concept, and add all of those users as Collaborators on each cookbook managed by that team.

If I start installing other Chef components, or even want to write my own service that ties into Chef somehow, this process would get annoying pretty quickly.

But if oc-id understood the concept of user groups, I'd only have to set ACLs on the oc-id-provided groups in each application, which changes much more rarely. Meanwhile, the group membership information could be provided (or at least synced) by oc-id to other Chef services, reducing the number of times I'd have to ask someone to "log in first" to something before I can set their permissions and group memberships properly.

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 referenced chef/oc-id#36 discussion and mapping how oc-id currently represents users. Then investigate how Chef Server and Supermarket handle groups, membership, and ACLs; the work is done when a concrete, shared group-membership design and its integration scope are defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.