Skip to content

Commit

Permalink
Specify datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Dec 12, 2023
1 parent 5710ff6 commit fee4229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funnel/views/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def recent_organization_memberships(
def organizations_as_member(obj: Account) -> list[RoleAccessProxy[Account]]:
"""Return organizations that the user has a membership in."""
return [
acc.access_for(actor=obj)
acc.access_for(actor=obj, datasets=('primary', 'related'))
for acc in Account.query.filter(
Account.name_in(app.config['FEATURED_ACCOUNTS'])
).all()
Expand Down

0 comments on commit fee4229

Please sign in to comment.