Skip to content

Conversation

@mattinx
Copy link

@mattinx mattinx commented Jan 7, 2026

Move code to handle SOCIAL_DEFAULT_ACCESS and SOCIAL_DEFAULT_GROUP settings into helper functions to restore functionality removed by commit 723b745 as identified by issue #4346

No change has been made to the logic of these settings - when SOCIAL_DEFAULT_ACCESS is enabled, users are added to the first space with the group specified by SOCIAL_DEFAULT_GROUP.

Further scope for enhancement would be to parse SOCIAL_DEFAULT_ACCESS as an integer (as indicated by the documentation) and use this as the space ID, rather than using Space.objects.first().

Another potential enhancement would be to check space membership on every login, and add the user to the configured space if they are not currently a member.

Move code to handle SOCIAL_DEFAULT_ACCESS and SOCIAL_DEFAULT_GROUP
settings into helper functions to restore functionality removed by
commit 723b745

No change has been made to the logic of these settings - when
SOCIAL_DEFAULT_ACCESS is enabled, users are added to the first space
with the group specified by SOCIAL_DEFAULT_GROUP.

Further scope for enhancement would be to parse SOCIAL_DEFAULT_ACCESS
as an integer (as indicated by the documentation) and use this as the
space ID, rather than using Space.objects.first().

Another potential enhancement would be to check space membership on
every login, and add the user to the configured space if they are not
currently a member.
@CLAassistant
Copy link

CLAassistant commented Jan 7, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants