Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MembershipService ¶
type MembershipService interface { // Get returns if the user is a member of the organization. Get(ctx context.Context, _forge forge.Forge, u *model.User, org string) (*model.OrgPerm, error) }
MembershipService is a service to check for user membership.
func NewMembershipService ¶
func NewMembershipService(_store store.Store) MembershipService
NewMembershipService creates a new membership service.
Click to show internal directories.
Click to hide internal directories.