-
Notifications
You must be signed in to change notification settings - Fork 94
[AUTH] Add new object type AUTH #849
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
Open
WDFdaniel
wants to merge
13
commits into
SAP:main
Choose a base branch
from
WDFdaniel:feature/auth-only
base: main
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.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
97e4d67
Add files for AUTH
WDFdaniel e8a150a
Merge branch 'SAP:main' into feature/auth-only
WDFdaniel 54be30f
React to hyperspace-pr-bot review results and check for editorconfig …
WDFdaniel c6886ac
Correct examples
WDFdaniel 4afd938
React to comments and change request
WDFdaniel 13edc2a
Adapt examples
WDFdaniel 48ae31b
Delete file-formats/auth/.DS_Store
WDFdaniel 0ed8143
Merge branch 'SAP:main' into feature/auth-only
WDFdaniel 7444030
Removal of a few required annotations and adaption of one description…
WDFdaniel 9db2e1c
Correction of examples
WDFdaniel 2a751ee
Switch from ty_header_60 to ty_header_60_cloud, since AUTH does not y…
WDFdaniel ca93fe3
Merge branch 'SAP:main' into feature/auth-only
WDFdaniel f678c0b
Revised version, the calculated fields have also been removed
WDFdaniel 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Authorization Field File Format | ||
|
|
||
| ## Object Type Information | ||
|
|
||
| Object Type | Description | Group | ||
| :--- | :--- | :--- | ||
| AUTH | Authorization Field | Authorizations | ||
|
|
||
| ## File Structure | ||
|
|
||
| File | Cardinality | Definition | Schema | Example | ||
| :--- | :--- | :--- | :--- | :--- | ||
| `<name>.auth.json` | 1 | [`zif_aff_auth_v1.intf.abap`](./type/zif_aff_auth_v1.intf.abap) | [`auth-v1.json`](./auth-v1.json) | [1](./examples/z_aff_example_auth_1.auth.json) [2](./examples/z_aff_example_auth_2.auth.json) [3](./examples/z_aff_example_auth_3.auth.json) [4](./examples/z_aff_example_auth_4.auth.json) |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| { | ||
| "$comment": "This file is autogenerated, do not edit manually, see https://github.com/SAP/abap-file-formats for more information.", | ||
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "$id": "https://github.com/SAP/abap-file-formats/blob/main/file-formats/auth/auth-v1.json", | ||
| "title": "Authorization Field", | ||
| "description": "Authorization field", | ||
| "type": "object", | ||
| "properties": { | ||
| "formatVersion": { | ||
| "title": "Format Version", | ||
| "description": "Format version", | ||
| "type": "string", | ||
| "const": "1" | ||
| }, | ||
| "header": { | ||
| "title": "Header", | ||
| "description": "Header", | ||
| "type": "object", | ||
| "properties": { | ||
| "description": { | ||
| "title": "Description", | ||
| "description": "Description of the ABAP object", | ||
| "type": "string", | ||
| "maxLength": 60 | ||
| }, | ||
| "originalLanguage": { | ||
| "title": "Original Language", | ||
| "description": "Original language of the ABAP object", | ||
| "type": "string", | ||
| "minLength": 2 | ||
| }, | ||
| "abapLanguageVersion": { | ||
| "title": "ABAP Language Version", | ||
| "description": "ABAP language version", | ||
| "type": "string", | ||
| "enum": [ | ||
| "standard", | ||
| "cloudDevelopment" | ||
| ], | ||
| "enumTitles": [ | ||
| "Standard", | ||
| "ABAP Cloud Development" | ||
| ], | ||
| "enumDescriptions": [ | ||
| "Standard", | ||
| "ABAP cloud development" | ||
| ], | ||
| "default": "standard" | ||
| } | ||
| }, | ||
| "additionalProperties": false, | ||
| "required": [ | ||
| "description", | ||
| "originalLanguage" | ||
| ] | ||
| }, | ||
| "generalInformation": { | ||
| "title": "General Information", | ||
| "description": "General information", | ||
| "type": "object", | ||
| "properties": { | ||
| "dataElement": { | ||
| "title": "Data Element", | ||
| "description": "Name of the data element", | ||
| "type": "string", | ||
| "maxLength": 30 | ||
| } | ||
| }, | ||
| "additionalProperties": false, | ||
| "required": [ | ||
| "dataElement" | ||
| ] | ||
| }, | ||
| "alternativeSearchHelp": { | ||
| "title": "Alternative Search Help in Standard Maintenance Dialog", | ||
| "description": "Alternative search help in standard maintenance dialog", | ||
| "type": "object", | ||
| "properties": { | ||
| "checkTable": { | ||
| "title": "Check Table", | ||
| "description": "If no check table is maintained the search help of the data element will be used. A check table is only suitable if the first column with a data element identical to the authorization field is suitable for value selection. If no matching data element exists, the first column with a matching domain is used for the value selection. If the search help for the authorization field returns unsuitable selection results in a particular authorization object, an alternative search help can be maintained in the authorization object definition for the authorization field, in order to select suitable values for the object/field combination. This object/field search help always has priority over the search help for the field.", | ||
| "type": "string", | ||
| "maxLength": 30 | ||
| } | ||
| }, | ||
| "additionalProperties": false | ||
| } | ||
| }, | ||
| "additionalProperties": false, | ||
| "required": [ | ||
| "formatVersion", | ||
| "header" | ||
| ] | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "formatVersion": "1", | ||
| "header": { | ||
| "description": "ICF: GUID of ICF Service/Alias", | ||
| "originalLanguage": "de" | ||
| }, | ||
| "generalInformation": { | ||
| "dataElement": "ICF_NODE" | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "formatVersion": "1", | ||
| "header": { | ||
| "description": "Activity", | ||
| "originalLanguage": "de" | ||
| }, | ||
| "generalInformation": { | ||
| "dataElement": "ACTIV_AUTH" | ||
| }, | ||
| "alternativeSearchHelp": { | ||
| "checkTable": "TACT" | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "formatVersion": "1", | ||
| "header": { | ||
| "description": "User Attribute Monitoring", | ||
| "originalLanguage": "en" | ||
| }, | ||
| "generalInformation": { | ||
| "dataElement": "SUID_ATTR_ID_MONITORING" | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "formatVersion": "1", | ||
| "header": { | ||
| "description": "Plan Version", | ||
| "originalLanguage": "de" | ||
| }, | ||
| "generalInformation": { | ||
| "dataElement": "PLVAR" | ||
| }, | ||
| "alternativeSearchHelp": { | ||
| "checkTable": "T778P" | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| "! AFF type for object AUTH | ||
| INTERFACE zif_aff_auth_v1 | ||
| PUBLIC. | ||
| TYPES: | ||
| "! <p class="shorttext">General Information</p> | ||
| "! General information | ||
| BEGIN OF ty_general_information, | ||
| "! <p class="shorttext">Data Element</p> | ||
| "! Name of the data element | ||
| "! $required | ||
| data_element TYPE c LENGTH 30, | ||
| END OF ty_general_information. | ||
|
|
||
| TYPES: | ||
| "! <p class="shorttext">Alternative Search Help</p> | ||
| "! Alternative search help | ||
| BEGIN OF ty_alternative_search_help, | ||
| "! <p class="shorttext">Check Table</p> | ||
| "! If no check table is maintained the search help of the data element will be used. | ||
| "! A check table is only suitable if the first column with a data element identical to the authorization field is | ||
| "! suitable for value selection. If no matching data element exists, the first column with a matching domain is | ||
| "! used for the value selection. | ||
| "! If the search help for the authorization field returns unsuitable selection results in a particular | ||
| "! authorization object, an alternative search help can be maintained in the authorization object definition for | ||
| "! the authorization field, in order to select suitable values for the object/field combination. This object/field | ||
| "! search help always has priority over the search help for the field. | ||
| check_table TYPE c LENGTH 30, | ||
| END OF ty_alternative_search_help. | ||
|
|
||
| TYPES: | ||
| "! <p class="shorttext">Authorization Field</p> | ||
| "! Authorization field | ||
| BEGIN OF ty_main, | ||
| "! <p class="shorttext">Format Version</p> | ||
| "! Format version | ||
| "! $required | ||
| format_version TYPE zif_aff_types_v1=>ty_format_version, | ||
| "! <p class="shorttext">Header</p> | ||
| "! Header | ||
| "! $required | ||
| header TYPE zif_aff_types_v1=>ty_header_60_cloud, | ||
| "! <p class="shorttext">General Information</p> | ||
| "! General information | ||
| general_information TYPE ty_general_information, | ||
| "! <p class="shorttext">Alternative Search Help in Standard Maintenance Dialog</p> | ||
| "! Alternative search help in standard maintenance dialog | ||
| alternative_search_help TYPE ty_alternative_search_help, | ||
| END OF ty_main. | ||
| ENDINTERFACE. | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "formatVersion": "1", | ||
| "header": { | ||
| "description": "AFF type for AUTH (Authorization Field)", | ||
| "originalLanguage": "en" | ||
| } | ||
| } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.