code: func (p *Plugin) RegisterPermissionGroup(group ...*access.PermissionGroup) {
  	if p.Config.EnableTokenAuth {
  		p.Log.Debugf("Registering permission group(s): %s", group)
  		p.auth.AddPermissionGroup(group...)
  	}
  }
docs: // RegisterPermissionGroup adds new permission group if token authentication is enabled