use proper permissions
This commit is contained in:
		@@ -47,7 +47,7 @@
 | 
			
		||||
                        <span class="text-black dark:text-white cursor-pointer">
 | 
			
		||||
                            <span class="font-bold">
 | 
			
		||||
                                {{ user.name }}
 | 
			
		||||
                                {% if not user.last_access and "admin" in loggedin_user.roles and user.mail %}
 | 
			
		||||
                                {% if not user.last_access and allowed_to_edit and user.mail %}
 | 
			
		||||
                                    <form action="/admin/user"
 | 
			
		||||
                                          method="post"
 | 
			
		||||
                                          enctype="multipart/form-data"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user