-
-
Notifications
You must be signed in to change notification settings - Fork 29
Add a setting for an instance oriented toward organizations (no user publishing) #227
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
Comments
As there are several issues requiring this king of editable settings, have you thought about how you prefer to implement this ? Let me know, I would like to work on these two issues #227 and #228 |
That's a good question! I would think that as a first step we can:
What's your opinion on this? |
Yes you're right. I think the line is whether you need a developper/sysadmin or just a regular user (maybe admin) to change the settings. Django settings are easy to change but need someone who has access to the server |
What should be the behavior when a user is denied access to a page ? Is there a redirection to home page with an error message ? Or a custom error page ? |
Yes, something like that: https://github.com/pytition/Pytition/blob/master/pytition/petition/views.py#L247 |
Yes ! I think I will have time this week for both |
That could be the setting you would want for an instance reserved for an association / NGO / company / group where maybe you would not want individuals to create petitions in their own name but only in the name of the group.
This setting would change the behavior of the instance as follow:
This would possibly be used in addition with another setting that would restrict Organization creation to only admin (Django
super-user
) users. see #228The text was updated successfully, but these errors were encountered: