code: func (a *authenticator) AddPermissionGroup(group ...*access.PermissionGroup) {
  	for _, newPermissionGroup := range group {
  		if _, ok := a.groupDb[newPermissionGroup.Name]; ok {
  			a.log.Warnf("permission group %s already exists, skipped")
  			continue
  		}
  		a.log.Debugf("added HTTP permission group %s", newPermissionGroup.Name)
  		a.groupDb[newPermissionGroup.Name] = newPermissionGroup.Permissions
  	}
  }
docs: // AddPermissionGroup adds new permission group.