You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According with FT the `write:bootstrap.value` is not allowed to be
issued as scope in a token.
I'm adding it to be discussed in the repository-service-tuf#409
Signed-off-by: Kairo de Araujo <[email protected]>
* fix: scopes in the API body validation for token
Fix the missing scopes in the API body validation for issuing tokens.
Closes: 408
Signed-off-by: Kairo de Araujo <[email protected]>
* Update Swagger documentation
Update Swagger documentation including the new scopes.
Signed-off-by: Kairo de Araujo <[email protected]>
* Remove a non-allowed scope
According with FT the `write:bootstrap.value` is not allowed to be
issued as scope in a token.
I'm adding it to be discussed in the #409
Signed-off-by: Kairo de Araujo <[email protected]>
* Fix docs after removing `write:bootstrap`
Signed-off-by: Kairo de Araujo <[email protected]>
---------
Signed-off-by: Kairo de Araujo <[email protected]>
What is the task about?
This task generates a dynamic list of allowed scopes when issuing tokens.
This is a static list that excludes
write:token
as can see here:repository-service-tuf-api/repository_service_tuf_api/token.py
Lines 86 to 94 in 7597519
This list can be originated from
repository-service-tuf-api/repository_service_tuf_api/token.py
Line 86 in 7597519
repository-service-tuf-api/repository_service_tuf_api/__init__.py
Lines 54 to 66 in 7597519
Note:
It must exclude
write:token
Currently the
write:bootstrap
is not allowed also as scope in token, it is good to discuss it in this issue.repository-service-tuf-api/tests/bdd/features/tokens/generate.feature
Lines 41 to 56 in 7597519
Parent feature
References
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: