knative / knative/pkg

Aggregated roles for ducks should distinguish admin, edit, view.

Open
#969 4 comments 0 reactions 0 assignees View on GitHub
area/API kind/cleanup kind/feature lifecycle/frozen
Dominant language
Go
Stars
276
Forks
343
Avg merge
1d 1h
Merged PRs (30d)
1

Description

/area API
/kind cleanup
/kind feature

Kubernetes has some built-in cluster roles for Namespace admin/editor/viewer that allow folks to curate what resources show up in each with labels like:
```
rbac.authorization.k8s.io/aggregate-to-admin: "true"
```

We have a similar problem for consumption of our assorted Duck types, which is that some consumers only need to view, and others need to patch.

I think that we should probably define and adopt a convention similar to the Kubernetes one for folks looking to define ACL fragments as we have/are.

cc @n3wscott @vaikas

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Duck types and ACL fragments, then compare their current aggregation behavior with Kubernetes' admin, editor, and viewer role convention. Done means the project has an agreed convention that clearly distinguishes view, edit, and admin access for Duck consumers and documents how ACL fragments should use it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.