MCPcopy
hub / github.com/seaweedfs/seaweedfs / UserStore

Interface UserStore

weed/iam/integration/iam_manager.go:392–394  ·  view source on GitHub ↗

UserStore defines the interface for retrieving IAM user policy attachments.

Source from the content-addressed store, hash-verified

390
391// UserStore defines the interface for retrieving IAM user policy attachments.
392type UserStore interface {
393 GetUser(ctx context.Context, username string) (*iam_pb.Identity, error)
394}
395
396// RoleDefinition defines a role with its trust policy and attached policies
397type RoleDefinition struct {

Callers 4

TestUserArnIsValidFunction · 0.65
IsActionAllowedMethod · 0.65
GetPoliciesForUserMethod · 0.65

Implementers 15

CredentialManagerweed/credential/credential_manager.go
PostgresStoreweed/credential/postgres/postgres_stor
IamGrpcStoreweed/credential/grpc/grpc_store.go
MemoryStoreweed/credential/memory/memory_store.go
FilerEtcStoreweed/credential/filer_etc/filer_etc_st
IamApiServerweed/iamapi/iamapi_server.go
fakeUserStoreweed/iam/integration/iam_manager_no_po
IamGrpcServerweed/server/filer_server_handlers_iam_
Managerweed/sftpd/auth/auth.go
stubStoreweed/sftpd/auth/certificate_test.go
FileStoreweed/sftpd/user/filestore.go
EmbeddedIamApiweed/s3api/s3api_embedded_iam.go

Calls

no outgoing calls

Tested by

no test coverage detected