diff --git a/cmd/archied/main.go b/cmd/archied/main.go index d336bae23..c63301493 100644 --- a/cmd/archied/main.go +++ b/cmd/archied/main.go @@ -11,7 +11,7 @@ import ( ) const commandUsage = "usage: archied [flags] # run the daemon; archied -h lists the flags\n" + - "subcommands: setup, update, release, status, prbench, playbooks" + "subcommands: setup, update, release, status, prbench" func main() { os.Exit(run(os.Args[1:])) diff --git a/internal/domain/access/authorizer.go b/internal/domain/access/authorizer.go index ca6abde33..e1110a3b5 100644 --- a/internal/domain/access/authorizer.go +++ b/internal/domain/access/authorizer.go @@ -4,8 +4,6 @@ package access import ( - "context" - "github.com/samcharles93/archie-core/internal/domain/identity" "github.com/samcharles93/archie-core/internal/domain/org" ) @@ -25,14 +23,6 @@ type Validator interface { Validate(p Policy) error } -// PolicySource hands the engine its snapshot. The State Store owns the -// stored policies; a process loads them once at boot (a policy change takes -// effect when the process reloads, which the policy-editing surface ships -// with its own refresh). -type PolicySource interface { - Policies(ctx context.Context) ([]Policy, error) -} - // SenderID is the principal an inbound event's sender is evaluated as. const SenderID identity.IdentityID = "sender"