-
Notifications
You must be signed in to change notification settings - Fork 3
CFM-31_Enrollment_Flows_enable_people_picker_for_self_service #324
Open
Ioannis
wants to merge
3
commits into
COmanage:develop
Choose a base branch
from
Ioannis:CFM-31_Enrollment_Flows_enable_people_picker_for_self_service
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+140
−34
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -456,6 +456,12 @@ msgstr "Limit Global Search Scope" | |
msgid "CoSettings.search_global_limited_models.desc" | ||
msgstr "If true, Global Search will only search Names, Email Addresses, and Identifiers. This may result in faster searches for larger deployments." | ||
|
||
msgid "EnrollmentFlowSteps.enable_person_find" | ||
msgstr "Enable People Picker for Self Service" | ||
|
||
msgid "EnrollmentFlowSteps.enable_person_find.desc" | ||
msgstr "Enable people picker for self-service enrollments, see <a href=\"https://spaces.at.internet2.edu/display/COmanage/COmanage+Registry+PE+Technical+Manual\">Registry Technical Manual</a> for privacy considerations" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll need a deep link to the specific page (and preferably anchor) with the discussion of privacy consideration. This probably belongs in the Attribute Collector documentation. |
||
|
||
msgid "EnrollmentFlowSteps.actor_type" | ||
msgstr "Actor Type" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,32 +96,32 @@ if($vv_action == 'edit') { | |
'fieldName' => 'search_global_limited_models' | ||
]]); | ||
|
||
print $this->element('form/listItem', [ | ||
'arguments' => [ | ||
'fieldName' => 'person_picker_display_fields', | ||
'labelIsTextOnly' => true, | ||
'groupedControls' => [ | ||
// each key is the fieldName of the control we are going to create | ||
'person_picker_email_address_type_id' => [ | ||
'fieldOptions' => [ | ||
'label' => __d('field', 'mail'), | ||
'empty' => '(' . __d('operation', 'all') . ')', | ||
// 'all' => '(' . __d('operation', 'all') . ')' | ||
], | ||
], | ||
'person_picker_identifier_type_id' => [ | ||
'fieldOptions' => [ | ||
'label' => __d('field', 'identifier'), | ||
'empty' => '(' . __d('operation', 'all') . ')', | ||
// 'all' => '(' . __d('operation', 'all') . ')', | ||
], | ||
], | ||
'person_picker_display_types' => [ | ||
'singleRowItem' => true, | ||
'fieldLabel' => __d('field', 'CoSettings.person_picker_display_types') | ||
] | ||
], | ||
]]); | ||
// print $this->element('form/listItem', [ | ||
// 'arguments' => [ | ||
// 'fieldName' => 'person_picker_display_fields', | ||
// 'labelIsTextOnly' => true, | ||
// 'groupedControls' => [ | ||
// // each key is the fieldName of the control we are going to create | ||
// 'person_picker_email_address_type_id' => [ | ||
// 'fieldOptions' => [ | ||
// 'label' => __d('field', 'mail'), | ||
// 'empty' => '(' . __d('operation', 'all') . ')', | ||
//// 'all' => '(' . __d('operation', 'all') . ')' | ||
// ], | ||
// ], | ||
// 'person_picker_identifier_type_id' => [ | ||
// 'fieldOptions' => [ | ||
// 'label' => __d('field', 'identifier'), | ||
// 'empty' => '(' . __d('operation', 'all') . ')', | ||
//// 'all' => '(' . __d('operation', 'all') . ')', | ||
// ], | ||
// ], | ||
// 'person_picker_display_types' => [ | ||
// 'singleRowItem' => true, | ||
// 'fieldLabel' => __d('field', 'CoSettings.person_picker_display_types') | ||
// ] | ||
// ], | ||
// ]]); | ||
Comment on lines
-99
to
+124
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we removing these configurations from CO Settings? If so, we should remove them from schema.json and the model code as well. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we are. I will make the extra changes. |
||
|
||
print $this->element('form/listItem', [ | ||
'arguments' => [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know on the dev call we decided to move this configuration to EnrollmentFlowStep, but on further reflection I wonder if it should actually be specific to the AttributeCollector? I don't think any other plugin is likely to use this setting...