Skip to content

Add default admin name 1111#872

Merged
Naksen merged 4 commits into
devfrom
add_default_admin_name_1111
Dec 22, 2025
Merged

Add default admin name 1111#872
Naksen merged 4 commits into
devfrom
add_default_admin_name_1111

Conversation

@Misha-Shvets
Copy link
Copy Markdown
Collaborator

No description provided.

@Misha-Shvets Misha-Shvets requested a review from Copilot December 19, 2025 17:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a givenName attribute to user data, ensuring all users have this attribute populated with their username. The changes include both runtime user creation logic and a database migration to backfill existing users.

  • Adds givenName field to user creation data structure
  • Introduces database migration to add givenName attribute to existing users without it
  • Updates subproject commit reference

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
interface Updates subproject commit reference
app/ldap_protocol/auth/use_cases.py Adds givenName attribute to user creation data using the username
app/alembic/versions/6c858cc05da7_add_default_admin_name.py Adds migration to backfill givenName attribute for existing users

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/alembic/versions/6c858cc05da7_add_default_admin_name.py Outdated
Comment thread app/alembic/versions/6c858cc05da7_add_default_admin_name.py Outdated
Comment thread app/alembic/versions/6c858cc05da7_add_default_admin_name.py Outdated
Comment thread app/alembic/versions/6c858cc05da7_add_default_admin_name.py Outdated
@Misha-Shvets Misha-Shvets force-pushed the add_default_admin_name_1111 branch from 79cb5ba to 6f643d8 Compare December 22, 2025 11:47
@iyashnov iyashnov self-requested a review December 22, 2025 12:10
@Naksen Naksen merged commit 27c29e3 into dev Dec 22, 2025
4 checks passed
@Naksen Naksen deleted the add_default_admin_name_1111 branch December 22, 2025 13:30
rimu-stack added a commit that referenced this pull request Jan 28, 2026
* Add: directory attributes value validations (#857)

* Add: addRequest validate `new_name` (#862)

* fix: update push branch from main to dev in build workflow (#866)

* Http codes with map 774 (#836)

* Added dishka container to migrations (#868)

* Refactor: integrate NetworkPolicyGateway into LDAP session management (#863)

* Add default admin name 1111 (#872)

* Refactor syslog-ng configuration and enhance SyslogSender class (#871)

* Refactor: git checks (#869)

* Add: global LDAP server (#875)

* Fix: global ldap server (#877)

* Rework dependencies initialization in migrations (#880)

* add: UDP port mapping for LDAP service in docker-compose.yml (#882)

* Refactor ldap server (#867)

* Add: clear user password history (#874)

* Fix migration 275222846605 (#881)

* Add KRBAPIConnectionError handling to error map in krb5_router.py (#885)

* Add: directory is_system (#884)

* add: handling KRBAPIConnectionError in KerberosService exceptions (#886)

* Refactor: merge enterprise tests (#887)

* add: enqueue param for loguru (#888)

* Add: tmpfs and volume prune and kadmin_api depends on kdc (#891)

* New CI (#890)

* add: Contact entity type  (#896)

* refactor: rename services to System (#883)

* Hotfix262 (#898)

* Fix: user addRequest: recreate principal if exists already (#897)

* Enhance AddRequest: suppress KRBAPIPrincipalNotFoundError during principal deletion (#902)

* Refactor: cosmetic (#900)

* Add: Global Catalog logger (#892)

* Refactor: ModifyRequest (#893)

* Fix: Correct path assignment in _update_descendants function (#904)

* refactor: fix paths kadmin_api entrypoint (#903)

* add: rename services (#905)

* fix: replace services with system (#906)

---------

Co-authored-by: Milov Dmitriy <milovdd@mail.ru>
Co-authored-by: Ruslan <khannanov.rus@gmail.com>
Co-authored-by: Misha-Shvets <76677350+Misha-Shvets@users.noreply.github.com>
Co-authored-by: Михаил Михайлов <90135860+TheMihMih@users.noreply.github.com>
Naksen pushed a commit that referenced this pull request Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants