fix
This commit is contained in:
1 parent
fe94c2fb9c
commit
321f11e817
5 files changed
+58
-3
No files matched your search
@@ -58,6 +58,8 @@ type Server struct {
|
||||
|
||||
// testPlatformAdmin optional override for RequirePlatformAdmin unit tests.
|
||||
testPlatformAdmin func(ctx context.Context, userID uuid.UUID) (bool, error)
|
||||
// testCompanyOwner optional override for allowCompanyAdminOrPlatform owner checks.
|
||||
testCompanyOwner func(ctx context.Context, userID uuid.UUID) (bool, error)
|
||||
// testStaffAccess optional override for RequireSupportDesk / RequirePlatformAdmin tests.
|
||||
testStaffAccess func(ctx context.Context, userID uuid.UUID) (auth.StaffAccess, error)
|
||||
// testAssertFeatures optional override for requireFeatures / plan-gate unit tests.
|
||||
|
||||
Reference in new issue
Block a user