Skip to content

Authz updates for restricted services  #8

@joestubbs

Description

@joestubbs

As part of the new "restricted services" feature we want to make some updates to the authz scheme for Tokens. Specifically:

  1. Services should not be allowed to create tokens for other services.

Additionally:
2. User tokens should not be allowed to create tokens for themselves directly with Tokens.
3. There is an assumption here [1] that the requestor is a service account in the site admin tenant (i.e., that g.tenant_id is the admin tenant), but this is not necessarily true;

[1] https://github.com/tapis-project/tokens-api/blob/prod/service/auth.py#L220

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

On Hold

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions