Documentation
¶
Index ¶
Constants ¶
View Source
const ( FGA_ROLE_PROJECT_OWNER = "role:project/test/owner" FGA_ROLE_PROJECT_VAULT_MAINTAINER = "role:project/test/vault_maintainer" FGA_ROLE_PROJECT_MEMBER = "role:project/test/member" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonTestSuite ¶
func (*CommonTestSuite) GqlApiTest ¶
func (s *CommonTestSuite) GqlApiTest( middleware *Middleware, userHooksMock *dbMocks.UserHooks, mockFgaEvents fga.FgaEvents, ) *apitest.Request
func (*CommonTestSuite) SetupLogger ¶
func (s *CommonTestSuite) SetupLogger()
func (*CommonTestSuite) TearDownTest ¶
func (s *CommonTestSuite) TearDownTest()
closes database connections between tests - reclaims memory, so each test starts with fresh data
type EntityInput ¶
type InviteInput ¶
type InviteInput struct {
Email string `json:"email"`
Entity EntityInput `json:"entity"`
Roles []string `json:"roles"`
}
Click to show internal directories.
Click to hide internal directories.