Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNOE-1126] Restrict access to specific ProductInstances for a given team #731

Open
wants to merge 2 commits into
base: 4.0
Choose a base branch
from

Conversation

MAhsenArif
Copy link
Contributor

No description provided.

@MAhsenArif MAhsenArif force-pushed the teams_with_product_instances branch 3 times, most recently from 2021448 to 94a9db5 Compare May 30, 2018 12:54
@ouranos ouranos requested review from yuritomanek and adamaziz15 May 31, 2018 00:03
@ouranos ouranos added the bug label May 31, 2018
yuritomanek
yuritomanek previously approved these changes Jun 1, 2018
@@ -1,4 +1,5 @@
@all_apps ||= MnoEnterprise::App.all.to_a
@all_products ||= MnoEnterprise::Product.all.to_a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuritomanek @ouranos I'm wondering if it would be better to do this the way it is done for the admin view? Not sure if it would improve performance alot, but wouldn't it be more efficient to include 'product_instances.product' in the teams controller rather than fetching all products?

@MAhsenArif MAhsenArif force-pushed the teams_with_product_instances branch from 90f6b3b to 20d4c5d Compare June 3, 2018 09:21
@ouranos ouranos added this to the Opal SoW2 - Backlog milestone Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants