forked from CESNET/perun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request CESNET#3145 from Johaney-s/csv_header
Csv option for namespace configuration
- Loading branch information
Showing
4 changed files
with
40 additions
and
7 deletions.
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 |
---|---|---|
|
@@ -6,6 +6,8 @@ | |
# | ||
# default_email - this field determines, which email will be set as a preferred attribute, for the generated sponsored | ||
# user. If this value is not specified, it fallbacks to '[email protected]' | ||
# csv_gen_header - this field defines the csv format used for parsing data. | ||
# csv_gen_placeholder - this field contains placeholder for the used csv format. | ||
# required_attributes - fields from the SponsoredUserData class, which are required for the given namespace during the | ||
# creation of a sponsorship. Allowed values are fields of the SponsoredUserData class. This | ||
# should be mainly used in GUI to determine, which items should be visible in the dialog. But, it | ||
|
@@ -39,12 +41,16 @@ namespaces: | |
|
||
dummy: | ||
default_email: "[email protected]" | ||
csv_gen_header: "" | ||
csv_gen_placeholder: "" | ||
required_attributes: [] | ||
optional_attributes: | ||
- password | ||
|
||
dummy_with_login: | ||
default_email: "[email protected]" | ||
csv_gen_header: "" | ||
csv_gen_placeholder: "" | ||
required_attributes: | ||
- login | ||
optional_attributes: | ||
|
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