Skip to content

Commit

Permalink
Merge tag '5.2.0' into develop
Browse files Browse the repository at this point in the history
5.2.0
  • Loading branch information
lukavdplas committed Oct 31, 2023
2 parents e9380ee + aaa34e8 commit bd80d18
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ keywords:
- elasticsearch
- natural language processing
license: MIT
version: 4.2.0
date-released: '2023-09-28'
version: 5.2.0
date-released: '2023-10-31'
2 changes: 1 addition & 1 deletion backend/users/migrations/0005_saml_user_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def add_saml_users_to_group(apps, schema_editor):

if saml_group:
for user in saml_users:
user.groups.add(saml_group)
user.groups.add(saml_group.id)
user.save()

class Migration(migrations.Migration):
Expand Down
3 changes: 2 additions & 1 deletion backend/users/saml.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ def get_or_create_user(self, *args, **kwargs):
def saml_user_group():
group_name = getattr(settings, 'SAML_GROUP_NAME', None)
if group_name:
return Group.objects.get_or_create(name=group_name)
group, _ = Group.objects.get_or_create(name=group_name)
return group
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "i-analyzer",
"version": "5.1.0",
"version": "5.2.0",
"license": "MIT",
"scripts": {
"postinstall": "yarn install-back && yarn install-front",
Expand Down

0 comments on commit bd80d18

Please sign in to comment.