OpenSlides / openslides-autoupdate-service

Autoupdate service for OpenSlides 4+
MIT License
2 stars 21 forks source link

New gender model #1023

Closed Elblinator closed 1 week ago

Elblinator commented 2 weeks ago

The client and the backend have a new model for the genders it appears that the autoupdate needs to implement the new collection.

       The autoupdate service gives following:

Error: getting next message: creating first time data: create keys for keysbuilder: load needed keys: restricting data: getting restiction mode for gender/A: collection "gender" is not implemented, maybe run go generate ./... to fetch all fields from the models.yml

I suppose that the autoupdate service needs to implement the new 'gender' collection in the restrictor. Running go generate doesn't help-

Originally posted by @reiterl in https://github.com/OpenSlides/openslides-client/issues/4027#issuecomment-2363297729

The new gender:

Please look into the changed in models.yml and the action in the respective PRs https://github.com/OpenSlides/openslides-meta/pull/116/files https://github.com/OpenSlides/openslides-backend/pull/2485/files

ostcar commented 2 weeks ago

I created a PR

When should a user see the gender collection? For the start, I set it to always. So every buddy, even anonymous, can see all genders.