majewsky / portunus

Self-contained user/group management and authentication service
GNU General Public License v3.0
75 stars 5 forks source link

Seed is ignored on an existing instance and behaves inconsistently on "seeded" objects #7

Open xeals opened 1 year ago

xeals commented 1 year ago

I have a small system that I'm playing around with having a combination of seeded and non-seeded users and groups. I started initially with the default NixOS seed (admin and Dex search user) and have added to it over time.

I have so far noticed the following:

Using v1.1.0.
Current seed.json for reference.

majewsky commented 9 months ago

I merged a near-complete rewrite of the core logic today. Most or all of the issues you describe should be addressed by this change, since behaviors related to seeding are now validated through automated tests. There are still cleanups that I still want to do; once the next release drops, I'd be interested in hearing from you regarding your observations with the new release.