Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protected blog postings? #1

Open
rosslaird opened this issue Oct 29, 2013 · 3 comments
Open

Protected blog postings? #1

rosslaird opened this issue Oct 29, 2013 · 3 comments

Comments

@rosslaird
Copy link

Thanks for creating this. It works nicely. How difficult would it be to extend this to offer protected blog postings as well? That would be very useful indeed (for me).

I already have an app that allows a blog author to specify that login is required to view a given post, but it would be great to extend this to limit viewing to a given group.

@evilchili
Copy link
Owner

Hi Ross, glad you find it useful! Your own tutorials were helpful in getting up to speed with mezzanine.

Hrm. My current approach is to create a new content type by subclassing Page. I could easily do this for BlogPosts, but I think that would create two streams of posts that wouldn't be integrated. I will need to do some digging into the blog views and templates to see what the impact would be.

A cleaner solution might be to extend the model of the BlogPost class directly, but I would prefer to keep my changes out of the mezzanine core for now.

@rosslaird
Copy link
Author

Those tutorials sure have been (unintentionally) popular!

Thanks for considering the blog post option. Let me know if you decide to move forward on this, and if I can help in any way.

@innomadic
Copy link

Any more thoughts about this?

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

No branches or pull requests

3 participants