Skip to content

Commit

Permalink
expos the is_stock_manager of the users rest endpoint for iblrig
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Feb 19, 2025
1 parent 94c897d commit 22bac34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alyx/misc/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def setup_eager_loading(queryset):

class Meta:
model = get_user_model()
fields = ('id', 'username', 'email', 'subjects_responsible', 'lab', 'allowed_users')
fields = ('id', 'username', 'email', 'subjects_responsible', 'lab', 'allowed_users', 'is_stock_manager')


class LabSerializer(serializers.HyperlinkedModelSerializer):
Expand Down

0 comments on commit 22bac34

Please sign in to comment.