eclipse-tractusx / eclipse-tractusx/traceability-foss

[CONCEPT] Provide more details on policies when publishing assets

Open
#910 1 comment 0 reactions 0 assignees View on GitHub
5 - Frontend Refactoring concept frontend uux
Dominant language
Java
Stars
17
Forks
28
PR merge metrics
No merged PRs in 30d

Description

**As** a user ,
**I want** to have a good uux experience ,
**so that** the app is convenient to use .

## Hints / Details

- from julias feedback: https://github.com/eclipse-tractusx/sig-release/issues/506#issuecomment-1944683605

![Image](https://github.com/eclipse-tractusx/traceability-foss/assets/117836305/5c7c5e5c-db6b-4334-b168-9c9e57425401)

- Make sure policies are detailed enough at selection, so user knows exactly which policy he chooses.
- Location for managing policies will be provided when policy management in FE is implemented

## current backend policy response
[
{
"policyId": "default-policy",
"createdOn": "2024-04-12T04:04:34Z",
"validUntil": "2029-04-12T04:04:34Z",
"permissions": [
{
"action": "USE",
"constraints": {
"and": [
{
"leftOperand": "PURPOSE",
"operatorTypeResponse": "EQ",
"rightOperand": "ID 3.0 Trace"
},
{
"leftOperand": "PURPOSE",
"operatorTypeResponse": "EQ",
"rightOperand": "ID 3.1 Trace"
},
{
"leftOperand": "PURPOSE",
"operatorTypeResponse": "EQ",
"rightOperand": "R2_Traceability"
},
{
"leftOperand": "FrameworkAgreement.traceability",
"operatorTypeResponse": "EQ",
"rightOperand": "active"
},
{
"leftOperand": "Membership",
"operatorTypeResponse": "EQ",
"rightOperand": "active"
}
],
"or": [
{
"leftOperand": "PURPOSE",
"operatorTypeResponse": "EQ",
"rightOperand": "ID 3.0 Trace"
},
{
"leftOperand": "PURPOSE",
"operatorTypeResponse": "EQ",
"rightOperand": "ID 3.1 Trace"
},
{
"leftOperand": "PURPOSE",
"operatorTypeResponse": "EQ",
"rightOperand": "R2_Traceability"
},
{
"leftOperand": "FrameworkAgreement.traceability",
"operatorTypeResponse": "EQ",
"rightOperand": "active"
},
{
"leftOperand": "Membership",
"operatorTypeResponse": "EQ",
"rightOperand": "active"
}
]
}
}
]
}
]

## Acceptance Criteria

- provide a concept
- how policy details can be provided when publishing assets
- How can there be a differentiation between usage and access policies?
- usage policy maybe as a separate dropdown
- Create a Implementation issue based on this concept

## Out of Scope

- ...

Contributor guide

Open the contributing guide

Research direction

Start with the current backend policy response in the issue and the linked SIG Release feedback. Define a concept for showing policy details during asset publishing, distinguish usage from access policies, and capture the result in a follow-up implementation issue.

Written by the indexing model from the issue text.

Assessment

Domain
authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.