Skip to content

Why are the has add/delete/change permissions set to False in the BaseEventAdmin? #194

Answered by wesleykendall
Mariatta asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the main reason I did this was to discourage manually editing event models.

However, since the introduction of the APPEND_ONLY setting, this allows users to protect their event models from ever being manually edited.

I could see us turning on/off admin functionality based on this setting. In other words, if append-only is enabled, we don't allow delete/change. I'm not sure where I stand on if the "add_permission" should be enabled though. Some people don't ever want to allow manually adding events outside of what changes in the DB.

I assume you desire the ability to manually add/remove/change events?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Mariatta
Comment options

@wesleykendall
Comment options

Answer selected by Mariatta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants