change group owner from 'manager' to 'user'
This will allow privacy management to use existing code. Some template updates also are for rationalising how groups are created and edited.
This commit is contained in:
parent
2874e52309
commit
f3181690a2
10 changed files with 17 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
{% load i18n %}
|
||||
{% if request.user == user or not request.user == group.manager or not request.user.is_authenticated %}
|
||||
{% if request.user == user or not request.user == group.user or not request.user.is_authenticated %}
|
||||
<!-- TODO: blocking is irrelevant here, but ...is it? -->
|
||||
{% elif user in request.user.blocks.all %}
|
||||
{% include 'snippets/block_button.html' with blocks=True %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue