This also includes adding new grant and type primitives, as well as package domain names.
16 lines
365 B
Go
16 lines
365 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package policy
|
|
|
|
import "github.com/hashicorp/boundary/internal/boundary"
|
|
|
|
// Domain defines the domain for this package.
|
|
const Domain = "policy"
|
|
|
|
// Policy contains the common methods across all the different types of policies.
|
|
type Policy interface {
|
|
boundary.Resource
|
|
GetScopeId() string
|
|
}
|