Skip to content

Conversation

@schlagma
Copy link
Collaborator

This is necessary for the possibility to connect other SSO applications like Keycloak to the LDAP an successfully sync the groups the users belong to.

@schlagma schlagma requested a review from lukas-staab July 24, 2025 18:34
*/
public function up(): void
{
Schema::create('role_group_relation', function (Blueprint $table) {
Copy link
Member

Choose a reason for hiding this comment

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

Wie soll hier der migrationspfad von bestehenden Daten sein? aka ließt die bisherigen Gruppen aus speichert die zusammensetzung in der DB und stups mal das neue sync script.

2 Möglichkeiten: entweder die migration macht das mit, oder es gibt ein cmd Command Befehl den man dann ausführen muss - dass müsste dann auch ins Changelog beim Release.

imho ist variante 2 etwas robuster, generiert aber auch code den man "nie wieder" braucht (also außer halt genau bei dem Versionssprung).

Weiterer kleiner Vorteil von V2 ist, dass das frische migrieren long term etwas schneller ist, wenn mans in ein seperates command auslagert

Meinungen?

Copy link
Member

Choose a reason for hiding this comment

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

Das hier wäre noch zu klären @schlagma

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.

3 participants