mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-21 02:08:59 +02:00
* Refactor allianceauth into its own package * Add setup * Add missing default_app_config declarations * Fix timerboard namespacing * Remove obsolete future imports * Remove py2 mock support * Remove six * Add experimental 3.7 support and multiple Dj versions * Remove python_2_unicode_compatible * Add navhelper as local package * Update requirements
6 lines
176 B
Python
6 lines
176 B
Python
from allianceauth.groupmanagement.managers import GroupManager
|
|
|
|
|
|
def can_manage_groups(request):
|
|
return {'can_manage_groups': GroupManager.can_manage_groups(request.user)}
|