mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Fix task to pull the correct user
This commit is contained in:
@@ -16,6 +16,8 @@ signals.post_delete.connect(eveapi_deleted, sender=EVEAccount)
|
||||
def update_user_access(user):
|
||||
""" Process all corporate and alliance entries and correct access groups """
|
||||
|
||||
user = User.objects.get(id=user)
|
||||
|
||||
# Create a list of all Corp and Alliance groups
|
||||
corpgroups = []
|
||||
for corp in EVEPlayerCorporation.objects.filter(group__isnull=False):
|
||||
|
||||
Reference in New Issue
Block a user