Skip to content

Add SOCIAL_DEFAULT_ACCESS support back in#4351

Closed
mattinx wants to merge 1 commit intoTandoorRecipes:developfrom
mattinx:social-group
Closed

Add SOCIAL_DEFAULT_ACCESS support back in#4351
mattinx wants to merge 1 commit intoTandoorRecipes:developfrom
mattinx:social-group

Conversation

@mattinx
Copy link
Copy Markdown
Contributor

@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
Copy Markdown

CLAassistant commented Jan 7, 2026

CLA assistant check
All committers have signed the CLA.

@vabene1111
Copy link
Copy Markdown
Collaborator

thank you, I would accept SOCIAL_DEFAULT_ACCESS to be changed to ID based space retrieval. Do you want to implement that before I merge it?

@vabene1111
Copy link
Copy Markdown
Collaborator

ok thanks for the PR, I think @smilerz implemented it at the same time, just in a bit of a different way #4395

closing this for now, if anything does not work after the next update let me know

@vabene1111 vabene1111 closed this Feb 1, 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.

3 participants