mirror of
https://github.com/Noooste/garage-ui.git
synced 2026-08-25 20:06:47 +00:00
feat(oidc): add fine grained access control (#91)
* feat(access-control): fine grain tokens * fix(docs): clean wording * test(access-control): add tests for team extraction from access tokens and bucket info permissions * test(vocabulary): add test for ExpandGlob function to reject non-glob patterns * feat(helm): add multi-user access control documentation and schema support
This commit is contained in:
@@ -86,6 +86,10 @@ type GarageBucketInfo struct {
|
||||
UnfinishedMultipartUploadParts int64 `json:"unfinishedMultipartUploadParts"`
|
||||
UnfinishedMultipartUploadBytes int64 `json:"unfinishedMultipartUploadBytes"`
|
||||
Quotas *BucketQuotas `json:"quotas,omitempty"`
|
||||
|
||||
// EffectivePermissions is the caller's prefix-scoped permissions on this
|
||||
// bucket, computed server-side. Omitted when access control is disabled.
|
||||
EffectivePermissions []string `json:"effective_permissions,omitempty"`
|
||||
}
|
||||
|
||||
// BucketWebsiteConfig represents website configuration for a bucket
|
||||
|
||||
@@ -48,6 +48,10 @@ type BucketInfo struct {
|
||||
WebsiteAccess bool `json:"websiteAccess"`
|
||||
WebsiteConfig *BucketWebsiteConfig `json:"websiteConfig,omitempty"`
|
||||
Quotas *BucketQuotas `json:"quotas,omitempty"`
|
||||
|
||||
// EffectivePermissions is the caller's prefix-scoped permissions on this
|
||||
// bucket, computed server-side. Omitted when access control is disabled.
|
||||
EffectivePermissions []string `json:"effective_permissions,omitempty"`
|
||||
}
|
||||
|
||||
// BucketListResponse represents a list of buckets
|
||||
|
||||
Reference in New Issue
Block a user