Add configuration for only member access to media (#424)

I added an entry under 'Configuration 'per discussion in the Q&A section:
https://github.com/mediacms-io/mediacms/discussions/422
This commit is contained in:
Behnam B.Marandi 2022-03-24 05:47:06 +11:00 committed by GitHub
parent f8376c5c58
commit e06deed3b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -436,7 +436,10 @@ ADMINS_NOTIFICATIONS = {
- MEDIA_ADDED: a media is added - MEDIA_ADDED: a media is added
- MEDIA_REPORTED: the report for a media was hit - MEDIA_REPORTED: the report for a media was hit
### 5.23 Configure only memeber access to media
- Make the portal workflow public, but at the same time set `GLOBAL_LOGIN_REQUIRED = True` so that only logged in users can see content.
- You can either set `REGISTER_ALLOWED = False` if you want to add members yourself or checkout options on "django-allauth settings" that affects registration in `cms/settings.py`. Eg set the portal invite only, or set email confirmation as mandatory, so that you control who registers.
## 6. Manage pages ## 6. Manage pages
to be written to be written
@ -683,4 +686,4 @@ For example, while specifying wrong password for my Gmail account I get
``` ```
SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials d4sm12687785wrc.34 - gsmtp') SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials d4sm12687785wrc.34 - gsmtp')
``` ```