Skip to content

[MNOE-857] Setup divisions when creating a new organization based on …#209

Open
MAhsenArif wants to merge 2 commits intomaestrano:masterfrom
MAhsenArif:auto_assign_staff_division
Open

[MNOE-857] Setup divisions when creating a new organization based on …#209
MAhsenArif wants to merge 2 commits intomaestrano:masterfrom
MAhsenArif:auto_assign_staff_division

Conversation

@MAhsenArif
Copy link
Contributor

…user role

@MAhsenArif MAhsenArif force-pushed the auto_assign_staff_division branch 2 times, most recently from f4a5d04 to 6d36585 Compare January 26, 2018 13:34
Copy link
Contributor

@ouranos ouranos left a comment

Choose a reason for hiding this comment

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

This feature needs to be gated between the MnoeAdminConfig.isSubTenantEnabled() feature flag.

Otherwise LGTM.

# List of checked apps
vm.organization.app_nids = _.map(_.filter(vm.marketplace.apps, {checked: true}), 'nid') if MnoeAdminConfig.isAppManagementEnabled()

vm.organization.sub_tenant_ids = Object.keys vm.selectedSubTenants
Copy link
Contributor

Choose a reason for hiding this comment

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

Object.keys(vm.selectedSubTenants)

@MAhsenArif MAhsenArif force-pushed the auto_assign_staff_division branch from 41145b3 to 6a56970 Compare January 31, 2018 05:09
@MAhsenArif
Copy link
Contributor Author

@ouranos Encapsulated logic in MnoeAdminConfig.isSubTenantEnabled() feature flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants