Documentation ¶
Index ¶
- type Service
- func (s *Service) AddCompanyScopePermission(scopeGroupId int64, companyId int64, name string, roleId int64, ...) error
- func (s *Service) AddGroupScopePermission(scopeGroupId int64, companyId int64, groupId int64, name string, roleId int64, ...) error
- func (s *Service) AddIndividualScopePermission(companyId int64, groupId int64, name string, primKey int64, roleId int64, ...) error
- func (s *Service) RemoveAllGroupScopePermissions(scopeGroupId int64, companyId int64, name string, roleId int64, ...) error
- func (s *Service) RemoveCompanyScopePermission(scopeGroupId int64, companyId int64, name string, roleId int64, ...) error
- func (s *Service) RemoveGroupScopePermission(scopeGroupId int64, companyId int64, groupId int64, name string, roleId int64, ...) error
- func (s *Service) RemoveIndividualScopePermission(companyId int64, groupId int64, name string, primKey int64, roleId int64, ...) error
- func (s *Service) SetCompanyScopePermissions(scopeGroupId int64, companyId int64, name string, roleId int64, ...) error
- func (s *Service) SetGroupScopePermissions(scopeGroupId int64, companyId int64, groupId int64, name string, roleId int64, ...) error
- func (s *Service) SetIndividualScopePermissions(companyId int64, groupId int64, name string, primKey int64, ...) error
- func (s *Service) SetIndividualScopePermissions2(companyId int64, groupId int64, name string, primKey int64, roleId int64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddCompanyScopePermission ¶
func (*Service) AddGroupScopePermission ¶
func (*Service) AddIndividualScopePermission ¶
func (*Service) RemoveAllGroupScopePermissions ¶
func (*Service) RemoveCompanyScopePermission ¶
func (*Service) RemoveGroupScopePermission ¶
func (*Service) RemoveIndividualScopePermission ¶
func (*Service) SetCompanyScopePermissions ¶
func (*Service) SetGroupScopePermissions ¶
func (*Service) SetIndividualScopePermissions ¶
Click to show internal directories.
Click to hide internal directories.